Fix sticky letter filter when reloading addressbook

This commit is contained in:
Nathan Gray 2015-11-16 20:41:41 +00:00
parent ceb9f48f11
commit 69ffc46a95

View File

@ -1329,7 +1329,7 @@ window.egw_LAB.wait(function() {
{
if(!is_numeric($key)) continue;
if(preg_match('/'.$GLOBALS['egw']->db->capabilities['case_insensitive_like'].
' '.$GLOBALS['egw']->db->quote('[a-z]%').'$/',$col_filter) == 1
' '.$GLOBALS['egw']->db->quote('[a-z]%').'$/i',$col_filter) == 1
)
{
unset($query['col_filter'][$key]);