Index: trunk/core/kernel/db/db_tag_processor.php =================================================================== diff -u -N -r6751 -r6833 --- trunk/core/kernel/db/db_tag_processor.php (.../db_tag_processor.php) (revision 6751) +++ trunk/core/kernel/db/db_tag_processor.php (.../db_tag_processor.php) (revision 6833) @@ -745,7 +745,8 @@ $saved_value = $object->GetDBField($field); $object->SetDBField($field, $this->SearchField($params)); - $custom_filter = $this->Application->RecallVar($this->getPrefixSpecial().'_custom_filter'); + $view_name = $this->Application->RecallVar($this->getPrefixSpecial().'_current_view'); + $custom_filter = $this->Application->RecallPersistentVar($this->getPrefixSpecial().'_custom_filter.'.$view_name); $ret = $this->PredefinedOptions($params); $object->SetDBField($field, $saved_value); @@ -1434,7 +1435,8 @@ { $field = $this->SelectParam($params, 'field,name'); - $custom_filter = $this->Application->RecallVar($this->getPrefixSpecial().'_custom_filter'); + $view_name = $this->Application->RecallVar($this->getPrefixSpecial().'_current_view'); + $custom_filter = $this->Application->RecallPersistentVar($this->getPrefixSpecial().'_custom_filter.'.$view_name); $custom_filter = $custom_filter ? unserialize($custom_filter) : Array(); if (isset($custom_filter[ $params['grid'] ][$field])) {