GithubHelp home page GithubHelp logo

Sorting is wrong. about headphones HOT 6 CLOSED

brannon-bowden avatar brannon-bowden commented on May 13, 2024
Sorting is wrong.

from headphones.

Comments (6)

rembo10 avatar rembo10 commented on May 13, 2024

Yeah, thanks for posting this. It's using the MusicBrainz sort name for sorting - so it'll put Bob Dylan under 'D', The Smiths under 'S', Aerosmith under 'A', etc. For Eagle Eye Cherry it's listed as 'Cherry, Eagle Eye' which is why it's getting put under C.

I kind of dislike this way of sorting, and would prefer maybe just sorting them by the first letter, with the exception being articles (a, an, the, etc)

from headphones.

brannon-bowden avatar brannon-bowden commented on May 13, 2024

I agree with you, its currently very frustrating.
On Jun 14, 2011 7:01 AM, "rembo10" <
[email protected]>
wrote:

Yeah, thanks for posting this. It's using the MusicBrainz sort name for
sorting - so it'll put Bob Dylan under 'D', The Smiths under 'S', Aerosmith
under 'A', etc. For Eagle Eye Cherry it's listed as 'Cherry, Eagle Eye'
which is why it's getting put under C.

I kind of dislike this way of sorting, and would prefer maybe just sorting
them by the first letter, with the exception being articles (a, an, the,
etc)

Reply to this email directly or view it on GitHub:
#11 (comment)

from headphones.

gugahoi avatar gugahoi commented on May 13, 2024

I also noticed that. I was going to recommend you do the sorting with javascript. There's a jQuery plugin called tablesorter, which incidentally is the one Sickbeard uses, that will let you sort a table by several different parameters. And since it's javascript the end user would be able to choose which way to sort the table if in the future more info is included in the main list.

http://tablesorter.com/docs/

This is the file where I see tablesorter being configured in case you decide to use it -- https://github.com/midgetspy/Sick-Beard/blob/master/data/interfaces/default/home.tmpl

from headphones.

rembo10 avatar rembo10 commented on May 13, 2024

Thanks for the info. I'm going to add some jQuery stuff pretty soon - this version has no javascript but I wanted to add some in. I think there's also a way to do it straight from the sqlite table but it's a little more complicated.

from headphones.

rembo10 avatar rembo10 commented on May 13, 2024

Sorting is fixed - it won't fix the artists in the DB already, but new artists you add will have the updated sort name

from headphones.

brannon-bowden avatar brannon-bowden commented on May 13, 2024

Fortunately for me I must have just grabbed the code and rebuilt db right after you committed, as I read your email checked my headphones and its sorted correctly!! Three Cheers for rembo!

from headphones.

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.