Skip to content

Avoid saving searches entirely; remove unneeded searches clean up job#6695

Merged
cjcolvar merged 1 commit intodevelopfrom
no_saved_searches
Apr 20, 2026
Merged

Avoid saving searches entirely; remove unneeded searches clean up job#6695
cjcolvar merged 1 commit intodevelopfrom
no_saved_searches

Conversation

@cjcolvar
Copy link
Copy Markdown
Member

@cjcolvar cjcolvar commented Jan 22, 2026

Related to #6654

This uses a Blacklight configuration to mark all searches as crawler agents and thus none should be saved.
FIXME: Unit test is passing but I'm still seeing Search objects get persisted to the DB in local manual testing.

2nd pass: override Blacklight method entirely because configuration was only applying to cases of non-logged in searches but we don't need searches saved for any requests.

@cjcolvar cjcolvar force-pushed the no_saved_searches branch from d31b508 to d7096b5 Compare April 15, 2026 22:11
@cjcolvar cjcolvar marked this pull request as ready for review April 15, 2026 22:12
Copy link
Copy Markdown
Contributor

@masaball masaball left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@cjcolvar cjcolvar merged commit 8326506 into develop Apr 20, 2026
1 check passed
@cjcolvar cjcolvar deleted the no_saved_searches branch April 20, 2026 14:45
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