diff --git a/src/common/routesRegexp.js b/src/common/routesRegexp.js index 6ec7a14f2..f7cd674f3 100644 --- a/src/common/routesRegexp.js +++ b/src/common/routesRegexp.js @@ -12,8 +12,8 @@ const routesRegexp = { urlParamsNames: ['transportUrl', 'type', 'catalogId'] }, library: { - regexp: /^\/library(?:\/([^/]*))?(?:\/([^/]*))?$/, - urlParamsNames: ['type', 'sort'] + regexp: /^\/library(?:\/([^/]*))?$/, + urlParamsNames: ['type'] }, search: { regexp: /^\/search$/,