[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:
argiro.kokogiannaki 2020-09-15 08:43:20 +00:00
parent 7c54692d2c
commit c2c1ddc055
1 changed files with 1 additions and 1 deletions

View File

@ -206,7 +206,7 @@ export class SearchFilterComponent implements OnInit, OnChanges{
if(this.sortBy == "name"){
sorted.sort((n1,n2)=> {
if (n1.name > n2.name) {
if (n1.name.toLowerCase() > n2.name.toLowerCase()) {
return 1;
}