mirror of
https://github.com/stashapp/stash.git
synced 2025-12-06 16:34:02 +01:00
Order sceneDuplicateChecker results by size (#1639)
This commit is contained in:
parent
9803684535
commit
7b3b2ae9ba
2 changed files with 4 additions and 1 deletions
|
|
@ -68,13 +68,15 @@ SELECT GROUP_CONCAT(id) as ids
|
||||||
FROM scenes
|
FROM scenes
|
||||||
WHERE phash IS NOT NULL
|
WHERE phash IS NOT NULL
|
||||||
GROUP BY phash
|
GROUP BY phash
|
||||||
HAVING COUNT(*) > 1;
|
HAVING COUNT(phash) > 1
|
||||||
|
ORDER BY SUM(size) DESC;
|
||||||
`
|
`
|
||||||
|
|
||||||
var findAllPhashesQuery = `
|
var findAllPhashesQuery = `
|
||||||
SELECT id, phash
|
SELECT id, phash
|
||||||
FROM scenes
|
FROM scenes
|
||||||
WHERE phash IS NOT NULL
|
WHERE phash IS NOT NULL
|
||||||
|
ORDER BY size DESC
|
||||||
`
|
`
|
||||||
|
|
||||||
type sceneQueryBuilder struct {
|
type sceneQueryBuilder struct {
|
||||||
|
|
|
||||||
|
|
@ -9,6 +9,7 @@
|
||||||
* Added not equals/greater than/less than modifiers for resolution criteria. ([#1568](https://github.com/stashapp/stash/pull/1568))
|
* Added not equals/greater than/less than modifiers for resolution criteria. ([#1568](https://github.com/stashapp/stash/pull/1568))
|
||||||
|
|
||||||
### 🎨 Improvements
|
### 🎨 Improvements
|
||||||
|
* Show largest duplicates first in scene duplicate checker. ([#1639](https://github.com/stashapp/stash/pull/1639))
|
||||||
* Added checkboxes to scene list view. ([#1642](https://github.com/stashapp/stash/pull/1642))
|
* Added checkboxes to scene list view. ([#1642](https://github.com/stashapp/stash/pull/1642))
|
||||||
* Added keyboard shortcuts for scene queue navigation. ([#1635](https://github.com/stashapp/stash/pull/1635))
|
* Added keyboard shortcuts for scene queue navigation. ([#1635](https://github.com/stashapp/stash/pull/1635))
|
||||||
* Made performer scrape menu scrollable. ([#1634](https://github.com/stashapp/stash/pull/1634))
|
* Made performer scrape menu scrollable. ([#1634](https://github.com/stashapp/stash/pull/1634))
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue