dindinet / pwi

Automatically exported from code.google.com/p/pwi
0 stars 0 forks source link

Albums not sorting DATE_DESC - sorting DATE_ASC instead #109

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.
2.
3.

What is the expected output? What do you see instead?
DATE_ASC - oldest albums first

What version of the product are you using? On what browser and version and
operating system?
Any operating system, any browser.

Link to site showing the described behaviour:
http://cirkusklub.si/#galerija

Please provide any additional information below.

Original issue reported on code.google.com by gra...@gmail.com on 3 Jul 2012 at 10:01

GoogleCodeExporter commented 9 years ago
Please try again using ASC_DATE or DESC_DATE. 
Let me know if the problem still exists.

Original comment by borkh...@gmail.com on 4 Jul 2012 at 7:05

GoogleCodeExporter commented 9 years ago
Sorry, it was a typo - it's still not working though. Seems like only DESC_NAME 
and ASC_NAME works. Everything else (even "none") is ASC_DATE. In the feed 
(http://picasaweb.google.com/data/feed/api/user/cirkusfoto), the albums are 
sorted date ascending (old albums first), which doesn't seem right (at least I 
think the feeds should be date descending).

Original comment by gra...@gmail.com on 4 Jul 2012 at 12:25

GoogleCodeExporter commented 9 years ago
That is correct: the feed is not sorted, but the data is sorted by PWI (Picasa 
does not do sorting). Picasa returns the data as shown on the Picasa website.
Can you send me the PWI configuration you are using, so that I can test it here?

Original comment by borkh...@gmail.com on 4 Jul 2012 at 12:57

GoogleCodeExporter commented 9 years ago
Yes, I do understand that, but I thought it would be logical for Picasa to 
automatically order albumst date descending, not ascending.
var settings = {
username: "cirkusfoto",
useQueryParameters: true,
showPermaLink: true,
popupPlugin: "fancybox"
};

I modified the original script a little bit to my client's orders, but i didn't 
modify the sortAlbums (or something like that) function. It is here: 
http://cirkusklub.si/fotogalerija/js/jquery.pwi.js

Original comment by gra...@gmail.com on 4 Jul 2012 at 2:50

GoogleCodeExporter commented 9 years ago
PS: I removed the album ordering from settings variable and changed the 
ordering directly from the javascript pwi file: 
http://cirkusklub.si/fotogalerija/js/jquery.pwi.js

Original comment by gra...@gmail.com on 4 Jul 2012 at 2:51

GoogleCodeExporter commented 9 years ago
Still no solution to the problem?

Original comment by gra...@gmail.com on 15 Jul 2012 at 1:40