mirror of
https://github.com/lrnselfreliance/wrolpi.git
synced 2026-11-20 15:06:19 -05:00
Handling if data is empty in FileCard.
This commit is contained in:
parent
f439e411b6
commit
f3e2c0d7e8
2 changed files with 6 additions and 3 deletions
|
|
@ -39,7 +39,7 @@ def get_video_for_app(video_id: int) -> Tuple[dict, Optional[dict], Optional[dic
|
|||
|
||||
VIDEO_ORDERS = {
|
||||
'upload_date': 'v.upload_date ASC, LOWER(fg.primary_path) ASC',
|
||||
'-upload_date': 'v.upload_date DESC NULLS LAST, LOWER(fg.primary_path) DESC',
|
||||
'-upload_date': 'v.upload_date DESC NULLS LAST, LOWER(fg.primary_path) ASC',
|
||||
'rank': '2 DESC, LOWER(fg.primary_path) DESC',
|
||||
'-rank': '2 ASC, LOWER(fg.primary_path) ASC',
|
||||
'id': 'fg.id ASC',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue