Giter Club home page Giter Club logo

Comments (4)

xispa avatar xispa commented on July 20, 2024

As per #307 and #331 , Analysis Service with a Sort Key value defined will appear first, and sorted by Sort Key ascendant. The rest of items appear below, sorted by title ascending.

The list should be similar as this:
as_sorted

Note that Sodium appears before Iron because the former has a SortKey=10 and the latter a Sortkey=20. After them (because they don't have any value assigned for SortKey), appear the rest of Analysis Services, but sorted alphabetically ascending.

Please, confirm if your Analysis Services list don't get sorted following this criteria by default. If not, maybe the problem is that bika_setup_catalog needs to be reindexed for the changes to take effect.

from senaite.core.

ramonski avatar ramonski commented on July 20, 2024

Thanks @xispa, I will do a bika_setup_catalog clear&rebuild later this day and report back.

from senaite.core.

ramonski avatar ramonski commented on July 20, 2024

Rebuilt bika_setup_catalog and it seems to be still not working (difficult to verify, because it is not possible to show the sort_key column in the listing #360).

I verified that the sortable_title index exists in bika_setup_catalog and also contains correct values with the prefixed the sort keys.

sortable_title

from senaite.core.

xispa avatar xispa commented on July 20, 2024

#362 fixes this issue.

from senaite.core.

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.