mirror of
https://git.code.sf.net/p/seeddms/code
synced 2024-11-26 23:42:11 +00:00
add query for record_type
This commit is contained in:
parent
409df834a3
commit
732fd81018
|
@ -89,6 +89,13 @@ class SeedDMS_Lucene_Search {
|
|||
$querystr .= '")';
|
||||
}
|
||||
}
|
||||
if(!empty($fields['record_type'])) {
|
||||
if($querystr)
|
||||
$querystr .= ' && ';
|
||||
$querystr .= '(record_type:';
|
||||
$querystr .= implode(' || record_type:', $fields['record_type']);
|
||||
$querystr .= ')';
|
||||
}
|
||||
if(!empty($fields['category'])) {
|
||||
if($querystr)
|
||||
$querystr .= ' && ';
|
||||
|
|
Loading…
Reference in New Issue
Block a user