Template:TokenPropertyImage: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 2: | Line 2: | ||
tables=TokenProperties | tables=TokenProperties | ||
|fields=TokenProperties.filename, TokenProperties.displayname | |fields=TokenProperties.filename, TokenProperties.displayname | ||
|where=TokenProperties.displayname='{{{displayname}}}' | |where=TokenProperties.displayname='{{{displayname}}}' AND TokenProperties.collection='{{{collection}}}' AND TokenProperties.trait='{{{trait}}}' | ||
|limit=1 | |limit=1 | ||
|format=template | |format=template |
Revision as of 18:01, 5 July 2022
Error 1054: Unknown column 'cargo__TokenProperties.trait' in 'where clause'
Function: CargoSQLQuery::run Query: SELECT `cargo__TokenProperties`.`_pageID` AS `cargo_backlink_page_id_TokenProperties`,`cargo__TokenProperties`.`filename` AS `filename`,`cargo__TokenProperties`.`displayname` AS `displayname` FROM `cargo__TokenProperties` WHERE `cargo__TokenProperties`.`displayname`='{{{displayname}}}' AND `cargo__TokenProperties`.`collection`='{{{collection}}}' AND `cargo__TokenProperties`.`trait`='{{{trait}}}' ORDER BY `cargo__TokenProperties`.`_pageID`,`cargo__TokenProperties`.`filename`,`cargo__TokenProperties`.`displayname` LIMIT 100