-
-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add pagination for FacetValues #1257
Comments
Hi, We had a similar issue some time ago with So I think this is a worthy addition and I'll add it at some point. Unfortunately just missed out on making it into the next minor release, but potentially the one after that. |
No problem it's not urgent for us now but thanks to take it in account 🙏 |
For me is a little bit more urgent not only for the service layer but also in the admin-ui is important to have because is impossible to edit when you have thousand of facet value. For the admin-ui I add a specific issue because the issue is that you cannot save when there are many many facetvalues in the same facet. |
Is there some update on it? I see planned but I do not understand which milestone Thanks |
+1 any update on this? Admin-UI is kind of broken with lots of facet values... |
Hi all! Thanks for bringing my attention back to this one. @floze how many facet values are we talking? And is it just the facet detail page that is kind of broken? |
@michaelbromley It's not just the facets-detail page, although the facets-overview page ( As @giosueDelgado mentioned, the problem seems to arise with thousands of values per facet, hundreds are still loading nicely on my end. |
Hi yes we have 2/3k of facet values... on some facet |
OK thanks both for the feedback. I'm gonna look into the best fix for now - which might be just to make the Admin UI smarter and not try to render everything. If this handles the immediate perf issues I can possibly get this in the next patch. |
OK I have started implementing the fix for this in the |
Hello 👋
Is your feature request related to a problem? Please describe.
In our DB, we have a lot of FacetValues for a single Facet, like a city facet that contains a large list of facetValue as city name.
Sometimes we want to query to get all the facetValues from a facet. In order to optimize our performance, we want to paginate the results of it.
Describe the solution you'd like
Like the FacetService, for the query :
findAll(ctx: RequestContext, options?: ListQueryOptions<Facet>)
We would like to have the same for the FacetValueService
findByFacetId(ctx: RequestContext, id: ID, options?: ListQueryOptions<FacetValue>)
The text was updated successfully, but these errors were encountered: