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

Add database method to create user saved search #815

Merged
merged 1 commit into from
Oct 24, 2024

Conversation

jcscottiii
Copy link
Collaborator

For creating:

  • In the same transaction it will check:
    • If the user does not owned too many saved searches.
    • Add the user as an admin
    • Add the new saved search as a bookmark

We also introduce the search config struct which holds an app wide configuration for the max number of saved searches a user can have.

Fixes: #804

@jcscottiii jcscottiii linked an issue Oct 24, 2024 that may be closed by this pull request
Base automatically changed from jcscottiii/generic-client-enhancements to main October 24, 2024 16:37
For creating:
- In the same transaction it will check:
    - If the user does not owned too many saved searches.
    - Add the user as an admin
    - Add the new saved search as a bookmark

We also introduce the search config struct which holds an app wide configuration for the max number of saved searches a user can have.

Fixes: #804
@jcscottiii jcscottiii force-pushed the jcscottiii/create-saved-searches branch from a0058e7 to 83f2620 Compare October 24, 2024 16:39
@jcscottiii jcscottiii added this pull request to the merge queue Oct 24, 2024
Merged via the queue into main with commit 187bbc2 Oct 24, 2024
6 checks passed
@jcscottiii jcscottiii deleted the jcscottiii/create-saved-searches branch October 24, 2024 18:09
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.

[ENHANCEMENT] Database can create user saved searches
2 participants