Skip to content
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

Enabling facet field pagination component to accept other styles for the numerical sort and A-Z buttons #3491

Closed
hudajkhan opened this issue Jan 14, 2025 · 0 comments · Fixed by #3492
Assignees

Comments

@hudajkhan
Copy link
Contributor

Within a facet's list of values, clicking on "more" will open up a modal with various sorting options, including numerical and A-Z. The styling for the Numerical sort and A-Z buttons includes classes that are defined in the HTML for the FacetFieldPaginationComponent.

See: https://github.com/projectblacklight/blacklight/blob/main/app/components/blacklight/facet_field_pagination_component.html.erb#L13 .

For our downstream app, we need to use our own styling for the component. One method would be to build in support within Blacklight itself by allowing someone to override _facet_pagination.html.erb and pass in their own classes for these buttons.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant