mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2026-10-14 12:07:12 +00:00
Fix losing search when adding relative date
This commit is contained in:
1 parent
b52cb193e1
commit
84b3fee0f9
1 file changed
+4
-2
@@ -300,8 +300,10 @@ export class FilterEditorComponent implements OnInit, OnDestroy {
|
||||
queryArgs.splice(queryArgs.indexOf(arg), 1)
|
||||
}
|
||||
})
|
||||
this._textFilter = queryArgs.join(',')
|
||||
this.textFilterTarget = TEXT_FILTER_TARGET_FULLTEXT_QUERY
|
||||
if (queryArgs.length) {
|
||||
this._textFilter = queryArgs.join(',')
|
||||
this.textFilterTarget = TEXT_FILTER_TARGET_FULLTEXT_QUERY
|
||||
}
|
||||
break
|
||||
case FILTER_FULLTEXT_MORELIKE:
|
||||
this._moreLikeId = +rule.value
|
||||
|
||||
Reference in new issue
Block a user