Skip to content

Commit

Permalink
bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
TechSubham committed Dec 27, 2024
1 parent 083794e commit 4e0b70b
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ const SEARCH_ENDPOINT_FIELDS = [
'limit',
'sort_on',
'sort_order',
'depth',
];

const PAQO = 'plone.app.querystring.operation';
Expand Down Expand Up @@ -73,6 +74,7 @@ function getInitialState(
sort_order: sortOrderParam || data.query?.sort_order,
b_size: data.query?.b_size,
limit: data.query?.limit,
depth: data.query?.depth,
block: id,
};
}
Expand Down Expand Up @@ -130,6 +132,7 @@ function normalizeState({
sort_order: sortOrder || query.sort_order,
b_size: query.b_size,
limit: query.limit,
depth: query.depth,
block: id,
};

Expand Down

0 comments on commit 4e0b70b

Please sign in to comment.