Don't show deleted library on homepage cards

This commit is contained in:
JonnyWong16 2020-05-02 12:36:04 -07:00
parent 35a0242037
commit 5499e89058
No known key found for this signature in database
GPG key ID: B1F1F9807184697A

View file

@ -865,7 +865,7 @@ class DataFactory(object):
'custom_thumb_url AS custom_thumb, art AS library_art, custom_art_url AS custom_art, ' \
'count, parent_count, child_count ' \
'FROM library_sections ' \
'WHERE section_id IN (%s) ' \
'WHERE section_id IN (%s) AND deleted_section = 0 ' \
'ORDER BY section_type, count DESC, parent_count DESC, child_count DESC ' % ','.join(library_cards)
result = monitor_db.select(query)
except Exception as e: