Giter VIP home page Giter VIP logo

Comments (5)

ShawnMilo avatar ShawnMilo commented on August 19, 2024

Would sorting it by the materialized_path work? (That's one of the fields visible on the listing page.) Is that what you mean? All courses first, then all chapters, then all verticals, etc.?

from lore.

pdpinch avatar pdpinch commented on August 19, 2024

Not exactly what I was looking for, but it might be a better default than the current alphabetical.

Can you submit a small PR, or point out the code to change to try it?

On Jun 4, 2015, at 12:08 AM, Shawn Milochik [email protected] wrote:

Would sorting it by the materialized_path work? (That's one of the fields visible on the listing page.) Is that what you mean? All courses first, then all chapters, then all verticals, etc.?


Reply to this email directly or view it on GitHub.

from lore.

ShawnMilo avatar ShawnMilo commented on August 19, 2024

It's get_resources in learningobjects/api.py.The whole function is currently just one line that returns a queryset.

If you want it ordered by any other field (currently title), then that's easy. If you want it sorted by something other than a straightforward WHERE clause, then it will be more complicated.

from lore.

ShawnMilo avatar ShawnMilo commented on August 19, 2024

@pdpinch Ideally, how would you like sorting to work? I'll use that as a starting point.

Also, is it maybe unnecessary in the short term, if the search engine will provide more robust sorting options?

from lore.

pdpinch avatar pdpinch commented on August 19, 2024

I agree that the search engine should provide sorting and in the demo today, we decide to move search up the schedule (and move a few other things out).

I'll close this for now.

On Jun 4, 2015, at 3:46 PM, Shawn Milochik [email protected] wrote:

@pdpinch Ideally, how would you like sorting to work? I'll use that as a starting point.

Also, is it maybe unnecessary in the short term, if the search engine will provide more robust sorting options?


Reply to this email directly or view it on GitHub.

from lore.

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.