Code Monkey home page Code Monkey logo

Comments (6)

margalini avatar margalini commented on August 21, 2024 1

I also like being able to group exhibits. But it does not order the different groups by the same criteria and I would like to be able to order them by date.

from blockparty.

jaguillette avatar jaguillette commented on August 21, 2024

I'm glad that the plugin is helpful to you! Implementing that kind of sorting will be a bit difficult, since it's not something that's built in to the method that I'm using to gather the items and collections where it'd be relevant. I don't have much time to devote to new feature development now, but if this would be helpful to others please say so! The more people that would benefit the easier it is to devote time to new development.

from blockparty.

lljohnston avatar lljohnston commented on August 21, 2024

I would think it would be, such as being able to sort by Date or Creator or Location. My use case is that I need to sort by a numeric value in an element in my custom item type for the order in which items were shown at events.

from blockparty.

lljohnston avatar lljohnston commented on August 21, 2024

Coming back to say that this is still something I would find really useful. I'd love to be able to sort within an item block by Title or Date or Creator, as well as an arbitrary field.

Maybe a way to integrate item shortcodes?

from blockparty.

jaguillette avatar jaguillette commented on August 21, 2024

It's unlikely that I'll be able to devote time to adding features to this plugin in the foreseeable future. Anyone is welcome to fork this repository to add features or submit a pull request to enable this functionality though.

from blockparty.

zerocrates avatar zerocrates commented on August 21, 2024

Just a comment for anyone looking to implement this... I may be misinterpreting some of the prior messages here, but I did want to point out that get_records, the function used here to get the items, etc. to display, does support sorting. You pass it the keys sort_field and sort_dir along with the other keys used to filter the returned records.

from blockparty.

Related Issues (3)

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.