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

Publication Type select list filter: The filter (Drupal View exposed filter) should show only the Publication Types that are being used. #3013

Closed
ejsamboy opened this issue Dec 13, 2023 · 3 comments
Assignees
Labels
enhancement New feature or request patch release Issues to be included in the next patch release

Comments

@ejsamboy
Copy link
Contributor

Do not disclose security vulnerabilities here, please email us instead:
[email protected]

Motivation

Publication Type select list filter is set to display all publication types. It should only display the Publication Types that are being used.

Is your feature request related to a problem? Please describe.

The Publication Type select list filter has more than 30 different types, but most of the time Publications only use two or three of them. The filter should show the Publication Types in use only.

Additional context

https://cancercenter.arizona.edu/biblio

Screenshot 2023-12-13 at 10 49 20 AM Screenshot 2023-12-13 at 10 54 00 AM
@ejsamboy ejsamboy added the enhancement New feature or request label Dec 13, 2023
@trackleft
Copy link
Member

Related to #2574

@tadean
Copy link
Contributor

tadean commented Dec 15, 2023

This is what the D7 module views_selective_filters used to do. There is a similar D9-10 implementation in how the calendar filter prefetches what days have events in order to highlight the calendar filter cells:

@tadean tadean self-assigned this Dec 15, 2023
@joeparsons joeparsons moved this from Todo to Needs review in 2.9.x Issues Jan 17, 2024
@joeparsons joeparsons added the patch release Issues to be included in the next patch release label Jan 17, 2024
@danahertzberg danahertzberg modified the milestones: 2.9.x Patch Release Issues, 2.10.x Patch Release Issues Aug 23, 2024
@danahertzberg danahertzberg removed this from the 2.10.x Patch Release Issues milestone Oct 31, 2024
@trackleft
Copy link
Member

Fixed by #2574

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request patch release Issues to be included in the next patch release
Projects
No open projects
Status: Needs review
Development

No branches or pull requests

5 participants