[Library|Trunk]
Search Filters: case sensitive when sorting by name git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@59372 d315682c-612b-4755-9ff5-7f18f6832af3
This commit is contained in:
parent
7c54692d2c
commit
c2c1ddc055
|
@ -206,7 +206,7 @@ export class SearchFilterComponent implements OnInit, OnChanges{
|
||||||
if(this.sortBy == "name"){
|
if(this.sortBy == "name"){
|
||||||
|
|
||||||
sorted.sort((n1,n2)=> {
|
sorted.sort((n1,n2)=> {
|
||||||
if (n1.name > n2.name) {
|
if (n1.name.toLowerCase() > n2.name.toLowerCase()) {
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue