summaryrefslogtreecommitdiffstats
path: root/lib/private/naturalsort.php
Commit message (Collapse)AuthorAgeFilesLines
* Happy new year!Thomas Müller2016-01-121-2/+2
|
* update licence headers via scriptMorris Jobke2015-10-051-0/+1
|
* Remove OC_LogThomas Müller2015-07-031-1/+1
|
* Update license headersJenkins for ownCloud2015-03-261-4/+20
|
* Revert "Updating license headers"Morris Jobke2015-02-261-18/+5
| | | | This reverts commit 6a1a4880f0d556fb090f19a5019fec31916f5c36.
* Merge pull request #14213 from ↵Vincent Petry2015-02-251-0/+13
|\ | | | | | | | | AW-UC/naturalsort_defaultcollator-patch-file-sorting Update naturalsort_defaultcollator.php. Fixes #13982
| * Add constructor to inject collatorAW-UC2015-02-201-0/+13
| | | | | | | | | | Adding the possibility for instantiating \OC\NaturalSort with an injected collator. This makes the use of a specific collator enforcable.
* | Updating license headersJenkins for ownCloud2015-02-231-5/+18
|/
* Performance improvements for NaturalSortRobin McCorkell2015-02-091-7/+10
| | | | | A combination of using isset() instead of count() or strlen(), caching the chunkify function, and replacing is_numeric() with some comparisons
* Move NaturalSort_DefaultCollator to its own fileJoas Schilling2014-11-271-11/+0
|
* Fix PHPDocLukas Reschke2014-09-301-4/+4
|
* Fixed sort algo for additional casesVincent Petry2014-08-111-1/+2
|
* Fixed file list sortingVincent Petry2014-08-111-0/+116
Now using a natural sort algorithm that is more consistent between JS and PHP (although not perfect in some corner cases) - added OC.Util.naturalSortComparator that uses the same algo that was used for the user list - changed user list and files list to use OC.Util.naturalSortComparator - removed toLowerCase() and changed the comparator to use String.localeCompare() - added unit tests - added OC_NaturalSort that is used by OCP\Util::naturalSortCompare()