When I put the following LIST plugin showing the contents of a file gallery:
{LIST()} {filter field="gallery_id" content="4"} {LIST}
I get a:
System error. The following error message was returned: Unknown column 'created' in 'order clause' The query was: SELECT * FROM `index_57c5a14334249` WHERE 1=1 AND (`searchable` = 'y' AND `gallery_id` = '4') ORDER BY `created` desc The built query was likely: SELECT * FROM `index_57c5a14334249` WHERE 1=1 AND (`searchable` = 'y' AND `gallery_id` = '4') ORDER BY `created` desc
This does not happen in the blog post preview or in a wiki page.
Curious indeed, but it seems to be because tiki-view_blog_post.php uses a default sort_mode of "created_desc" for no apparent reason and this confuses the list plugin. There is a workaround though, you can specify the sort_arg for the pagination like this:
{LIST()} {pagination sort_arg="list_sort_mode"} {filter field="gallery_id" content="4"} {LIST}
and it then works ok (but who knew!?)
To help developers solve the bug, we kindly request that you demonstrate your bug on a show2.tiki.org instance. To start, simply select a version and click on "Create show2.tiki.org instance". Once the instance is ready (in a minute or two), as indicated in the status window below, you can then access that instance, login (the initial admin username/password is "admin") and configure the Tiki to demonstrate your bug. Priority will be given to bugs that have been demonstrated on show2.tiki.org.
The URL for the show.tikiwiki.org instance that demonstrates this bug is at: http://jyhem-9952-6099.show.tikiwiki.org. Note that if you get a popup asking for a username/password, please just enter "show" and "show". This is different from the initial login and password for a new Tiki which is "admin" and "admin".
For the install log, see http://jyhem-9952-6099.show.tikiwiki.org/info.txt
Note that if you see PHP errors or a Tiki claiming to be missing third party software, the instance creation is probably not finished. Please wait a couple minutes and reload.
Snapshots are database dumps of the configuration that developers can download for debugging. Once you have reproduced your bug on the show.tikiwiki.org instance, create a snapshot that can then be downloaded by developers for further investigation.
Snapshots can be accessed at: http://jyhem-9952-6099.show.tikiwiki.org/snapshots/. Note that if you get a popup asking for a username/password, please just enter "show" and "show".
Create new snapshotfilename | created | hits | comment | version | filetype | ||
---|---|---|---|---|---|---|---|
No attachments for this item |