Tracking the problem back, the SQL request itself was actually trying to isolate only entries in which galleryId == -1. My understanding is that a value of -1 means all galleries. To fix it, I modify a single line in lib/tikilib.php:
function get_files
Line: 2124
A conditional checks :
elseif ( $galleryId >= -1 && ! $recursive )
And I believe that it *should* be checking for $galleryId > -1. I made the correction, and Last Files is now displaying correctly, and I haven't yet noticed other problems this may have raised.
This works fine in 7.x. Feel free to reopen if you can reproduce in a current release.
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.
To help developers solve the bug, we kindly request that you demonstrate your bug on a show.tikiwiki.org instance. To start, simply select a version and click on "Create show.tikiwiki.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 show.tikiwiki.org.
filename | created | hits | comment | version | filetype | ||
---|---|---|---|---|---|---|---|
No attachments for this item |