1
0
mirror of https://github.com/oceanprotocol/market.git synced 2024-12-02 05:57:29 +01:00

Merge pull request #152 from oceanprotocol/fix/paginationSearch

correct number of items on page
This commit is contained in:
Matthias Kretschmann 2020-10-28 13:08:35 +01:00 committed by GitHub
commit 7af9ac6974
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -13,7 +13,7 @@ export function getSearchQuery(
): SearchQuery {
return {
page: Number(page) || 1,
offset: Number(offset) || 20,
offset: Number(offset) || 21,
query: {
text,
tags: tags ? [tags] : undefined,