OpenUserJS.org
OpenUserJS.org copied to clipboard
Case insensitive Sort Order
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.
- Ability to Sort order Groups by size. (MARTII EDIT) ... already present (/MARTII EDIT)
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
Ability to Sort order Groups by size.
Requires a new property in the Group schema. There's no way around that.
@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 :(
@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.
Also apply sort order to Github import. ^_^
See also:
- http://stackoverflow.com/questions/10728043/mongo-query-with-regex-in-node-js-operating-on-a-variable/10728069
- https://jira.mongodb.org/browse/SERVER-90
- http://stackoverflow.com/questions/22931177/mongo-db-sorting-with-case-insensitive
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.
P.S. Scheduled a server backup.
Assigned to sizzle as migration at MongoLabs is out of my hands.
We've been able to do this for a while on the MongoDB versions even on mLab ... so applied level 3.
Ref:
- https://docs.mongodb.com/manual/reference/collation/
Notes:
- Needs testing to see if this is complete and as efficient as possible with the PR merged... then close. TimidScript is no longer with us as per policy.
- Marking as a bug since I think it is after all of this time pondering and waiting.
Re:
Also apply sort order to Github import
Separate issue with dependency change/migration... leaving unaffected atm since there is no sorting period.