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