bug #3300981 [navi] Table filter is case sensitive
This commit is contained in:
@@ -3,8 +3,9 @@
|
|||||||
|
|
||||||
3.4.1.0 (not yet released)
|
3.4.1.0 (not yet released)
|
||||||
- bug #3301108 [interface] Synchronize and already configured host
|
- bug #3301108 [interface] Synchronize and already configured host
|
||||||
- Bug #3302457 Inline edit and $cfg['PropertiesIconic']
|
- bug #3302457 Inline edit and $cfg['PropertiesIconic']
|
||||||
- Patch #3302313 Show a translated label
|
- Patch #3302313 Show a translated label
|
||||||
|
- bug #3300981 [navi] Table filter is case sensitive
|
||||||
|
|
||||||
3.4.0.0 (2011-05-11)
|
3.4.0.0 (2011-05-11)
|
||||||
+ rfe #2890226 [view] Enable VIEW rename
|
+ rfe #2890226 [view] Enable VIEW rename
|
||||||
|
@@ -145,9 +145,11 @@ function PMA_setCookie(name, value, expires, path, domain, secure) {
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
function fast_filter(value){
|
function fast_filter(value){
|
||||||
|
lowercase_value = value.toLowerCase();
|
||||||
$("#subel0 a[class!='tableicon']").each(function(idx,elem){
|
$("#subel0 a[class!='tableicon']").each(function(idx,elem){
|
||||||
$elem = $(elem);
|
$elem = $(elem);
|
||||||
if (value && $elem.html().indexOf(value) == -1) {
|
// .indexOf is case sensitive so convert to lowercase to compare
|
||||||
|
if (value && $elem.html().toLowerCase().indexOf(lowercase_value) == -1) {
|
||||||
$elem.parent().hide();
|
$elem.parent().hide();
|
||||||
} else {
|
} else {
|
||||||
$elem.parent().show();
|
$elem.parent().show();
|
||||||
|
Reference in New Issue
Block a user