Commit bfef4c54e3e94e3a5a2c87c035341bbdd08d2570
1 parent
eeb2d39b
Merged in from DEV trunk...
KTS-1979 "General Metadata search outputs an db error. " Fixed. Reviewed By: Conrad git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/STABLE/trunk@6592 c91229c3-7414-0410-bfa2-8a42b809f60b
Showing
1 changed file
with
1 additions
and
1 deletions
lib/browse/Criteria.inc
| ... | ... | @@ -681,7 +681,7 @@ class GeneralMetadataCriterion extends BrowseCriterion { |
| 681 | 681 | |
| 682 | 682 | |
| 683 | 683 | function searchSQL ($aRequest) { |
| 684 | - $val = array('('.$this->getSearchTable() . "." . $this->getSearchField() . " LIKE '%!%' OR dm.name LIKE '%!%' )", | |
| 684 | + $val = array('('.$this->getSearchTable() . "." . $this->getSearchField() . " LIKE '%!%' OR DM.name LIKE '%!%' )", | |
| 685 | 685 | array(DBUtil::escapeSimple($aRequest[$this->getWidgetBase()]),DBUtil::escapeSimple($aRequest[$this->getWidgetBase()]))); |
| 686 | 686 | |
| 687 | 687 | return $val; | ... | ... |