Skip to content

Commit

Permalink
use correct table
Browse files Browse the repository at this point in the history
  • Loading branch information
dogwithakeyboard committed Nov 11, 2024
1 parent 89d236e commit 9a1d667
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/sqlite/scene_marker.go
Original file line number Diff line number Diff line change
Expand Up @@ -389,7 +389,7 @@ func (qb *SceneMarkerStore) setSceneMarkerSort(query *queryBuilder, findFilter *
query.sortAndPagination += " ORDER BY COALESCE(NULLIF(scene_markers.title,''), tags.name) COLLATE NATURAL_CI " + direction
case "duration":
sort = "(scene_markers.end_seconds - scene_markers.seconds)"
query.sortAndPagination += getSort(sort, direction, sceneTable)
query.sortAndPagination += getSort(sort, direction, sceneMarkerTable)
default:
query.sortAndPagination += getSort(sort, direction, sceneMarkerTable)
}
Expand Down

0 comments on commit 9a1d667

Please sign in to comment.