Coder Social home page Coder Social logo

Comments (5)

remi-martin avatar remi-martin commented on August 15, 2024

Hi, thanks for your feedback.

It seems that the API of Piwigo doen't handle album sorting on fetch. To sort images I use the order property, but it is not available for albums.

However, the API returns all the albums without pagination, so I can sort and filter them easily. From what I can see, these are the sorting conditions available in a Piwigo:

  • Album Name, A - Z
  • Album Name, Z - A
  • Date Created, new - old
  • Date Created, old - new
  • Date Posted, new - old
  • Date Posted, old - new

Is that alright ?

from piwigo-flutter-app.

roydenyates avatar roydenyates commented on August 15, 2024

I expressed myself poorly - sorry.

I am happy that piwigo-ng presents the albums in the order they are set on the server. Admittedly, having the option to sort them within piwigo-ng is not a bad idea at all.

I was focussing on image order. You correctly give the sorting options in Piwigo but omitted the option for manual sort order. That sets how a visitor sees the album pictures in browser. My use has images that are best presented in an order not set by name or date but say, by content sequences that I choose as the best for the album.

So it is image order that is of concern for me. Seeing the album contents in piwigo-ng as one does in browser with order set by the gallery admin.

from piwigo-flutter-app.

remi-martin avatar remi-martin commented on August 15, 2024

Oh okay, so you are talking about a custom image order. Or, I think it is the default order given by the API. I'll add a "sort by default" option to see if it is the behavior you want :). It will be added for next update.

from piwigo-flutter-app.

roydenyates avatar roydenyates commented on August 15, 2024

Oh okay, so you are talking about a custom image order. Or, I think it is the default order given by the API. I'll add a "sort by default" option to see if it is the behavior you want :). It will be added for next update.

Yes, a custom image order as set on the server. Thanks!!

from piwigo-flutter-app.

roydenyates avatar roydenyates commented on August 15, 2024

This seems to work with the new "Manual Order" setting. Thank you!

from piwigo-flutter-app.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.