YAG-Gallery/yag — pull request #10 by IchHabRecht (2014-02-14 01:18:32+00:00)
Title: [BUGFIX] Gallery list throws fatal error #1247602160

Scenario: Gallery list plugin with one gallery shown. After clicking the link to the gallery I get the fatal error

#1247602160: Unknown column 'tx_yag_domain_model_album.hide' in 'where clause': SELECT COUNT(*) FROM tx_yag_domain_model_album WHERE (tx_yag_domain_model_album.gallery = '1' AND tx_yag_domain_model_album.hide = '0') AND tx_yag_domain_model_album.deleted=0 AND tx_yag_domain_model_album.t3ver_state<=0 AND tx_yag_domain_model_album.pid<>-1 AND tx_yag_domain_model_album.hidden=0 AND (tx_yag_domain_model_album.fe_group='' OR tx_yag_domain_model_album.fe_group IS NULL OR tx_yag_domain_model_album.fe_group='0' OR FIND_IN_SET('0',tx_yag_domain_model_album.fe_group) OR FIND_IN_SET('-1',tx_yag_domain_model_album.fe_group)) AND tx_yag_domain_model_album.sys_language_uid IN (0,-1) AND tx_yag_domain_model_album.pid IN (192)