Skip to content

Use filter_resources for export search (supersedes #50) - #61

Merged
andreibondarev merged 2 commits into
mainfrom
filter-resources-export
Oct 21, 2026
Merged

andreibondarev merged 2 commits into
mainfrom
filter-resources-export

Conversation

@andreibondarev

Copy link
Copy Markdown
Member

Carries @raykin's change from #50, with main merged in and two additions:

  • Falls back to Administrate::Search when filter_resources is missing (Administrate 0.17; the gem supports >= 0.17.0).
  • Adds a request spec checking that a custom filter_resources override is used by the export.

Exports now honour custom search as described in Administrate's customising search guide, so the CSV matches the filtered index page.

Closes #50

raykin and others added 2 commits May 22, 2024 15:06
@andreibondarev
andreibondarev merged commit 8d71748 into main Oct 21, 2026
5 checks passed
@andreibondarev
andreibondarev deleted the filter-resources-export branch October 21, 2026 23:38
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.

2 participants