mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-07-16 22:42:16 +00:00
do not send filters to backend when search endpoint is used
This commit is contained in:
@@ -385,7 +385,7 @@ export default {
|
||||
|
||||
const params = (endpoint?.params !== undefined) ? endpoint.params : {};
|
||||
let method = (endpoint?.method !== undefined) ? endpoint.method : 'get';
|
||||
if (this.filter.length)
|
||||
if (this.filter.length && !endpoint.url.match(/\/search\//))
|
||||
{
|
||||
params.filter = this.filter;
|
||||
method = 'post';
|
||||
|
||||
Reference in New Issue
Block a user