![]() |
|
Sort by date bug on dynamic albums ? - Printable Version +- ZenphotoCMS Forum (https://forum.zenphoto.org) +-- Forum: Support (https://forum.zenphoto.org/forum-1.html) +--- Forum: General support (https://forum.zenphoto.org/forum-4.html) +--- Thread: Sort by date bug on dynamic albums ? (/thread-10298.html) |
Sort by date bug on dynamic albums ? - BernardBoudon - 2012-08-14 Hello, I have checked all my parameters in the admin pages but i have not found anything wrong.
Sort don't work or i miss an option somewhere. You can check for test at: Photo order is 2010-03-20, 2012-04-09, 2012-06-10, 2012-06-16, 2011-06-18, 2010-07-14, 2012-08-04, 2012-08-05, 2011-08-07, 2011-09-10 Sort function don't use year ? It's really strange a sort function with only month and day... You can check the problem in any sub-albums of 'Maitres du vent'. Date and time are written under photo. Also test to force date sort in a sub-album but that don't change anything. I made a test with the standard theme. Always the same problem. Does someone have a solution ? Thanks in advance. Bernard. Sort by date bug on dynamic albums ? - sbillard - 2012-08-14 Sorry, I cannot reproduce this on my installation. I modified the default theme to print the date/time under the thumbnails and set both ascending and descending date sorts for the album images. Both worked as expected. My only thought is that maybe there is a search caching involved. Set the cache expiry to 0 on the search options tab and see if that makes any difference. Sort by date bug on dynamic albums ? - BernardBoudon - 2012-08-14 Thank you for your reply. I set the search cache expiry to 0. In the admin section of a dynamic album i have purge the cache image of the album. The problem is always here. :-( I made the test with the last version of Firefox and Safari. Sort by date bug on dynamic albums ? - sbillard - 2012-08-14 The image cache will not matter here. You can look into your database and see if the dates for the images look correct. The sort function sorts on that entire field. Sort by date bug on dynamic albums ? - BernardBoudon - 2012-08-16 I not found any wrong date in the database. Can the problem come from the database type (utf-8, latin) ? Thank you again for your help. Sort by date bug on dynamic albums ? - sbillard - 2012-08-16 Dates do not have any characters that encoded differently between utf-8 and latin. But the DB should be in UTF-8. When you tried a standard theme, did you use Sort by date bug on dynamic albums ? - BernardBoudon - 2012-08-17 Hello Chief, Yes, i made test with the default theme. If that can help, database table are MyISAM - utf8_unicode_ci I confirm that is only a problem with the search option. Now make a search with the word zen. You should have the same pictures but in the wrong order. If that can help, here my search.php: `
` Sort by date bug on dynamic albums ? - sbillard - 2012-08-17 can you try an experiment for us? Remove any use of Sort by date bug on dynamic albums ? - BernardBoudon - 2012-08-18 I made the change in my search.php. Replace this 2 lines: With this one: After that for better test i made a purge of the browser cache. Sort by date bug on dynamic albums ? - sbillard - 2012-08-18 I think this will take some effort to find and fix. I suggest you create a bugtracker ticket so we can take it off line. In the meantime I will think about how we can debug the issue. Probably it will involve you trying out various debug versions of the search script. Sort by date bug on dynamic albums ? - vincent3569 - 2012-08-19 Hi Sort by date bug on dynamic albums ? - BernardBoudon - 2012-08-20 vincent3569 thank you for your suggest but it's only a search sort by date bug. Of course sbillard, i accept to make all the necessary test to solve that bug. Thank you for all. Sort by date bug on dynamic albums ? - vincent3569 - 2012-08-21 ok I understand
of course, I don't know if it's a linked issue, but maybe you should tell us what is your thumbnail configuration on your dynamic album. |