Commit 98123565de3dfc2d7cf683efcc096094b73d8515
1 parent
bc1436a4
Make "simple search" require that the document be in "live" status.
git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@4294 c91229c3-7414-0410-bfa2-8a42b809f60b
Showing
1 changed file
with
1 additions
and
0 deletions
lib/browse/PartialQuery.inc.php
| ... | ... | @@ -208,6 +208,7 @@ class SimpleSearchQuery extends PartialQuery { |
| 208 | 208 | $aSubgroup = array( |
| 209 | 209 | 'values' => array( |
| 210 | 210 | array('type' => '-12', 'data' => array('bmd_12' => $this->searchable_text)), |
| 211 | + array('sql' => array('D.status_id = 1')), | |
| 211 | 212 | ), |
| 212 | 213 | 'join' => 'AND', |
| 213 | 214 | ); | ... | ... |