Skip to content

Commit

Permalink
added sort options code to scenes and photographer to galleries
Browse files Browse the repository at this point in the history
  • Loading branch information
HappyAxolotl committed Nov 2, 2022
1 parent 7eb81a0 commit 957ed21
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion ui/v2.5/src/models/list-filter/galleries.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import { DisplayMode } from "./types";

const defaultSortBy = "path";

const sortByOptions = ["date", ...MediaSortByOptions]
const sortByOptions = ["date", "photographer", ...MediaSortByOptions]
.map(ListFilterOptions.createSortBy)
.concat([
{
Expand Down
1 change: 1 addition & 0 deletions ui/v2.5/src/models/list-filter/scenes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ const sortByOptions = [
"interactive",
"interactive_speed",
"perceptual_similarity",
"code",
...MediaSortByOptions,
].map(ListFilterOptions.createSortBy);

Expand Down

0 comments on commit 957ed21

Please sign in to comment.