message: Remove base path and just calculate based on variables
diff: @@ -209,28 +209,6 @@ const getUrlPath = (variables: AdvancedSearchVariables) => {
  return urlBase
  }
  -const shouldUseBasePath = (basePath: string) => {
  - const forbiddenPaths = [
  - '/search',
  - '/feed',
  - '/notifications',
  - '/settings',
  - '/tools',
  - '/table',
  - '/index',
  - '/channels',
  - '/blocks',
  - '/all',
  - ]
  -
  - return (
  - basePath !== '/' &&
  - basePath !== undefined &&
  - !basePath.includes('/search') &&
  - !forbiddenPaths.some(path => basePath.includes(path))
  - )
  -}
  -
  export const generateUrlFromVariables = (
  variables: AdvancedSearchVariables,
  paramsOnly?: boolean,
  @@ -239,9 +217,7 @@ export const generateUrlFromVariables = (
  // remove trailing slash from basePath
  basePath = basePath?.replace(/\/$/, '')
  - const useBasePath = shouldUseBasePath(basePath)
  -
  - const path = useBasePath ? `${basePath}/search` : getUrlPath(variables)
  + const path = getUrlPath(variables)
  const params = stringify(omit(variables, ['page', 'per']), {
  arrayFormat: 'indices',
  