Skip to content
This repository was archived by the owner on Sep 19, 2022. It is now read-only.

Commit 2131700

Browse files
Merge pull request #61 from BaranekD/IdpFilterWayf
Fixed the problem with IDP filter on WAYF
2 parents 5f170ec + 81006ef commit 2131700

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
All notable changes to this project will be documented in this file.
33

44
## [Unreleased]
5+
#### Fixed
6+
- Fixed the problem that IDP filter on WAYF didn't work correctly
57

68
## [v3.1.1]
79
#### Fixed

www/res/js/jquery.livesearch.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jQuery.fn.liveUpdate = function (list) {
1616

1717
function filter()
1818
{
19-
var term = jQuery.trim(jQuery(this).val().toLowerCase()), scores = [];
19+
var term = jQuery.trim(jQuery(this).val().toLowerCase().normalize('NFD').replace(/[\u0300-\u036f]/g, "")), scores = [];
2020

2121
if (!term) {
2222
rows.show();

0 commit comments

Comments
 (0)