mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-11-29 10:53:33 +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 .= '")';
|
$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(!empty($fields['category'])) {
|
||||||
if($querystr)
|
if($querystr)
|
||||||
$querystr .= ' && ';
|
$querystr .= ' && ';
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user