[BUGFIX] #48561 disabled galleries are searchable/show up
[BUGFIX] #48563 SQL Problem with itemdata table