New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Return album photo sort order with API pwg.categories.getList #917
Comments
Hello, I don't understand why you would need to get the rank because we can already get the global rank therefore the rank. The global rank contains the rank. It is the last number of the global rank. For example, if you're global rank is this : 1.2.10 However the idea of adding a function to set the rank through the API is good. So please open a issue. |
Ok, sorry I see the #918 . |
@EddyLB I would like your feeling about the answer of @Teatek : why do you need the @Teatek has pushed a pull-request #955 which adds the |
@plegall I guess there is some misunderstanding and the pull-request #955 I apologise if To my knowledge, a Piwigo server provides the order in which albums appear on the web interface with Similarly, #918 requests the possibility to change that option from a third party app so that users get the same photos sort order when returning to the web interface. |
Allright, my mistake, I understood wrong :-) |
@EddyLB is this issue fixed? |
@plegall , I have implemented the code shown in the commits in a test server in version 13.7.0 and this works well. The method returns in addition for example: "image_order":"date_creation ASC, file ASC, id ASC". PS: Returning additional data is not an issue for routines parsing JSON data. |
OK, I've adapted the pull-request to recent code changes in |
The
pwg.categories.getList
method does not return the album photo sort order choosen by the user with the web UI and stored on the server, preventing external apps to adopt it. Could this be implemented as requested here ?The text was updated successfully, but these errors were encountered: