diff --git a/locales/en/pages.json b/locales/en/pages.json index 5efe349b..62130c7f 100644 --- a/locales/en/pages.json +++ b/locales/en/pages.json @@ -151,9 +151,8 @@ "org-type": "Organisation type", "protected-data": "Protected datasets", "spec-data": "Datasets that follow specifications", - "view-all-concepts": "View all concepts", - "view-all-data": "View all datasets", - "view-all-spec": "View all specifications" + "view-all-data": "View datasets", + "view-all-spec": "View specifications" }, "organisations": { "organisations": "organisations", diff --git a/locales/sv/pages.json b/locales/sv/pages.json index 45258796..c48d753d 100644 --- a/locales/sv/pages.json +++ b/locales/sv/pages.json @@ -151,16 +151,15 @@ "download_link": "Ladda ned metadata", "fee-data": "Avgiftsbelagda datamängder", "hvd-data": "Värdefulla datamängder", - "no-contact": "Inga kontaktuppgifter har angets", + "no-contact": "Inga kontaktuppgifter har angetts", "no-org-type": "Inget organisationstyp har angetts", "open-data": "Öppna datamängder", "org-no": "Organisationens id", "org-type": "Organisationstyp", "protected-data": "Skyddade datamängder", "spec-data": "Datamängder som följer specifikation", - "view-all-concepts": "Visa alla begrepp", - "view-all-data": "Visa alla datamängder", - "view-all-spec": "Visa alla specifikationer" + "view-all-data": "Visa datamängder", + "view-all-spec": "Visa specifikationer" }, "organisations": { "organisations": "organisationer", diff --git a/providers/search-provider/index.tsx b/providers/search-provider/index.tsx index 8984751e..159daf88 100644 --- a/providers/search-provider/index.tsx +++ b/providers/search-provider/index.tsx @@ -1,7 +1,7 @@ import { useRouter } from "next/router"; import { I18n } from "next-translate"; import withTranslation from "next-translate/withTranslation"; -import { decode } from "qss"; +import { decode, encode } from "qss"; import { Component, createContext, ReactNode } from "react"; import { @@ -748,7 +748,7 @@ class SearchProvider extends Component { }); } - const searchParams = new URLSearchParams({ + const searchParams = encode({ p: page.toString(), q: query, s: sortOrder.toString(),