mmatyas / pegasus-frontend

A cross platform, customizable graphical frontend for launching emulators and managing your game collection.
http://pegasus-frontend.org
Other
1.22k stars 111 forks source link

Ignore articles when sorting - with user-managed list of articles #833

Open HVR88 opened 3 years ago

HVR88 commented 3 years ago

I'm not certain if this is a base feature of Pegasus or whether it's up to individual themes, but this seems like the most appropriate place for it.

I'd like the option to ignore articles at the beginning of game titles, such as (but not limited to): "The" and "A"

So instead of "The Cool Game" being sorted after "Test Track" it would be treated as "Cool Game, The" and be sorted within "C" titles.

With the ability to manage the articles list, it's easy to include articles of other languages such as "El" or "Del" for example. It would also be possible to include publisher names that can sometimes appear in front of some games like "Disney's"

This feature makes it easy to properly sort a large amount of titles with minimal amount of configuration and means we don't have to manually change the "Sort by" property manually for every title that needs adjustment, just because of an article or common publisher name prefix.

mmatyas commented 3 years ago

Hi, you can use the sort-by property of the games for that. You can set that for each game that needs special sorting rules and Pegasus will order them based on this value.

HVR88 commented 3 years ago

I know, which is why I made this feature request. I have hundreds of games across a dozen or more platforms that have "The" or "A" - it's not practical to try and edit them all individually, plus any new ones that come up.

sort-by property is better used for special cases, like making sure every Harry Potter title sorts properly together, or all James Bond, etc. And I already use it for that purpose successfully.

mmatyas commented 3 years ago

Oh sorry, haven't seen the last section.