OpenUserJS / OpenUserJS.org

The home of FOSS user scripts.
https://openuserjs.org/
GNU General Public License v3.0
846 stars 301 forks source link

Case insensitive Sort Order #306

Open TimidScript opened 10 years ago

TimidScript commented 10 years ago

Sort order should be case sensitive and would be nice if it reflects an order similar to windows listing or Greasy Fork. Brackets and characters like * ! ; @ should come before alphanumeric characters.

jerone commented 10 years ago

Sort order should be case sensitive

Sorting is case sensitive right now (uppercase before lowercase). I'm more leaning to use an case insensitive order. This is more user friendly as script names aren't required to start with a uppercase.

Brackets and characters like * ! ; @ should come before alphanumeric characters

Don't know about this one. Can you give a reason why...

Ability to Sort order Groups by size

@sizzlemctwizzle I scanned the whole source and found that sorting is only possible by properties in the model schemes. size is a custom defined property in the groups. Can you suggest a way around this...


Related issue https://github.com/OpenUserJs/OpenUserJS.org/issues/292 & PR https://github.com/OpenUserJs/OpenUserJS.org/pull/309

Zren commented 10 years ago

Ability to Sort order Groups by size.

Requires a new property in the Group schema. There's no way around that.

jerone commented 10 years ago

@Zren commented on 21 aug. 2014 20:06 CEST:

Ability to Sort order Groups by size.

Requires a new property in the Group schema. There's no way around that.

That's what I thought :(

TimidScript commented 10 years ago

@jerone

Don't know about this one. Can you give a reason why...

In MS-Windows it just the way it works, in explorer and it's sort algorithms. Not sure how it is on other OS.

TimidScript commented 10 years ago

Also apply sort order to Github import. ^_^

Martii commented 9 years ago

See also:

Martii commented 7 years ago

Followup from https://jira.mongodb.org/browse/SERVER-90 :

Case-insensitive indices are available in MongoDB 3.3.11 via the new collation feature.


Dev: MongoDB v3.2.11 Pro: MongoDB v3.0.12 VPS: MongoDB v2.6.11 and OpenUserJs/OpenUserJS.org/blob/47de3d8/package.json#L37 EDIT: MIGRATED and HELD to 3.4.3 on 2017 04 15 with source commented at mongo init script to squash a warning. Latest MongoDB v3.4.3

Needs migration to a newer MongoDB data store at MongoLabs before this can be done (attempted) @sizzlemctwizzle Thanks. ... P.S. Scheduled a server backup.

Martii commented 7 years ago

P.S. Scheduled a server backup.

completed.


Assigned to sizzle as migration at MongoLabs is out of my hands.

Martii commented 5 years ago

We've been able to do this for a while on the MongoDB versions even on mLab ... so applied level 3.

Ref:

Notes:

Re:

Also apply sort order to Github import

Separate issue with dependency change/migration... leaving unaffected atm since there is no sorting period.