mirror of
https://github.com/stashapp/stash.git
synced 2025-12-17 04:14:39 +03:00
Correct title ordering for objects without titles (#3244)
* Correct scene title ordering * Correct ordering for other objects * Add basename function, add to gallery title sort
This commit is contained in:
@@ -2414,6 +2414,13 @@ func TestGalleryQuerySorting(t *testing.T) {
|
||||
-1,
|
||||
-1,
|
||||
},
|
||||
{
|
||||
"title",
|
||||
"title",
|
||||
models.SortDirectionEnumDesc,
|
||||
-1,
|
||||
-1,
|
||||
},
|
||||
}
|
||||
|
||||
qb := db.Gallery
|
||||
|
||||
Reference in New Issue
Block a user