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

[WIP] Initial implementation for logging search terms #1

Closed
wants to merge 2 commits into from

Conversation

pdelboca
Copy link
Member

@pdelboca pdelboca commented Feb 11, 2022

This is a simple implementation of a table to log all the search terms.

Due to initial requirements, it's necessary to log in the user_id so I'm not sure it's something we want to implement here. (I made it optional just in case).

Due to the current implementation of site_search calling other searches, we need to track if it's a site_search so we do not log it twice. I'm using flask's global object to track if the request is_site_search.

@pdelboca
Copy link
Member Author

Close in favor of #2

@pdelboca pdelboca closed this Feb 17, 2022
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.

None yet

1 participant