Change media search options to sort by media_id to compensate.
This commit is contained in:
Lucas 2023-02-19 11:28:13 +00:00
parent f2ee7e3db8
commit 1ac5d07821
3 changed files with 4 additions and 12 deletions

View file

@ -24,7 +24,7 @@ my $TAG_NAME_RE = qr/^[0-9]*[A-Z_a-z][0-9A-Z_a-z]*$/;
my $NUMERIC_ID_RE = qr/^[1-9][0-9]*$/;
my $MEDIA_SEARCH_OPTS = {
order_by => { -desc => "upload_date" },
order_by => { -desc => "media_id" },
rows => 20,
};
my $TAGS_COUNT_VIEW_SEARCH_OPTS = {