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

support clicking on words to run search #2

Open
rahulbot opened this issue Apr 13, 2023 · 3 comments
Open

support clicking on words to run search #2

rahulbot opened this issue Apr 13, 2023 · 3 comments
Labels
enhancement New feature or request
Milestone

Comments

@rahulbot
Copy link
Collaborator

The user should be able to click on a word. When they do, a new tab should open to a search for that word in that timeframe in the appropriate collections on search.mediacloud.org. This should be accomplished by generating URL with the search options serialized into the URL.

@rahulbot rahulbot added the enhancement New feature or request label Apr 13, 2023
@clairepan1
Copy link
Contributor

check for correct link

@rahulbot rahulbot added this to the v1.0 release milestone May 9, 2023
@rahulbot
Copy link
Collaborator Author

rahulbot commented May 9, 2023

End date and platform still not working for me on main. A correct URL should look something like this:

https://search.mediacloud.org/search?q=shooting&nq=&start=04-24-2023&end=05-01-2023&p=onlinenews-mediacloud&ss=&cs=34412234%253EUnited%2520States%2520-%2520National&any=any

@rahulbot
Copy link
Collaborator Author

This is almost working, but not quite right... it works in chrome but not safari. I think this is related to how date parsing works on each (I've seen this before). Please check the date part of the query on Safari.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants