Skip to content

Retain "Published" etc. Filter Setting When Applying Search or "View All" on /org_admin/templates/ Pages #3475

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

Open
wants to merge 3 commits into
base: development
Choose a base branch
from

Conversation

aaronskiba
Copy link
Contributor

@aaronskiba aaronskiba commented Jan 16, 2025

PLEASE NOTE:

  • Unless Fix Template.latest_version Ambiguity Error #3474 has already been merged, a PG::AmbiguousColumn: ERROR: will be encountered when attempting to execute any searches on the pages /org_admin/templates, org_admin/templates/organisational, or org_admin/templates/customisable. That PR's changes must be applied to properly test this PR.

Changes proposed in this PR:

  • Retain :f filter on /org_admin/templates/ Search c0a0dbf

    • This change retains the selected 'Published', 'Unpublished', or 'Not customized' filter when using the search on the paths /org_admin/templates, org_admin/templates/organisational, and org_admin/templates/customisable. Previously, the search would ignore the filter and return all templates.
  • Retain :f filter on /org_admin/templates/ "View All" d0fdcb7

    • This change retains the selected 'Published', 'Unpublished', or 'Not customized' filter when using the "View All" pagination option on the paths /org_admin/templates, org_admin/templates/organisational, and org_admin/templates/customisable. Previously, clicking "Select All" would ignore the filter and return all templates.

This commit retains the selected 'Published', 'Unpublished', or 'Not customized' filter when using the search on the paths /org_admin/templates, org_admin/templates/organisational, and org_admin/templates/customisable. Previously, the search would ignore the filter and return all templates.
This commit retains the selected 'Published', 'Unpublished', or 'Not customized' filter when using the "Select All" pagination option on the paths /org_admin/templates, org_admin/templates/organisational, and org_admin/templates/customisable. Previously, clicking "Select All" would ignore the filter and return all templates.
@aaronskiba aaronskiba changed the title Retain Filter Setting When Applying Search or "View All" On /org_admin/templates/ Page Retain Filter Setting When Applying Search or "View All" On /org_admin/templates/ Pages Jan 16, 2025
@aaronskiba aaronskiba changed the title Retain Filter Setting When Applying Search or "View All" On /org_admin/templates/ Pages Retain "Published" etc. Filter Setting When Applying Search or "View All" on /org_admin/templates/ Pages Jan 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant