mirror of
https://github.com/stashapp/stash.git
synced 2025-12-17 04:14:39 +03:00
Fix scene marker sort by scene updated SQL error (#1777)
This commit is contained in:
@@ -68,6 +68,21 @@ func TestMarkerCountByTagID(t *testing.T) {
|
||||
})
|
||||
}
|
||||
|
||||
func TestMarkerQuerySortBySceneUpdated(t *testing.T) {
|
||||
withTxn(func(r models.Repository) error {
|
||||
sort := "scenes_updated_at"
|
||||
_, _, err := r.SceneMarker().Query(nil, &models.FindFilterType{
|
||||
Sort: &sort,
|
||||
})
|
||||
|
||||
if err != nil {
|
||||
t.Errorf("Error querying scene markers: %s", err.Error())
|
||||
}
|
||||
|
||||
return nil
|
||||
})
|
||||
}
|
||||
|
||||
// TODO Update
|
||||
// TODO Destroy
|
||||
// TODO Find
|
||||
|
||||
Reference in New Issue
Block a user