mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-04-02 13:45:10 -05:00
Fix losing search when adding relative date
This commit is contained in:
parent
b52cb193e1
commit
84b3fee0f9
@ -300,8 +300,10 @@ export class FilterEditorComponent implements OnInit, OnDestroy {
|
|||||||
queryArgs.splice(queryArgs.indexOf(arg), 1)
|
queryArgs.splice(queryArgs.indexOf(arg), 1)
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
if (queryArgs.length) {
|
||||||
this._textFilter = queryArgs.join(',')
|
this._textFilter = queryArgs.join(',')
|
||||||
this.textFilterTarget = TEXT_FILTER_TARGET_FULLTEXT_QUERY
|
this.textFilterTarget = TEXT_FILTER_TARGET_FULLTEXT_QUERY
|
||||||
|
}
|
||||||
break
|
break
|
||||||
case FILTER_FULLTEXT_MORELIKE:
|
case FILTER_FULLTEXT_MORELIKE:
|
||||||
this._moreLikeId = +rule.value
|
this._moreLikeId = +rule.value
|
||||||
|
Loading…
x
Reference in New Issue
Block a user