-
Notifications
You must be signed in to change notification settings - Fork 5
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
Advanced search layout #173
base: master
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added a few files and moving on to MET--will have a branch ready for that soon. What works best for you guys to surface new fields? Also, advanced search by date range requires a field entrydate_ms; I've written a script to convert dates in entrydate fields to milliseconds for that function to work. Would you want to run that locally or do you have another way?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please add a list of all changes and new features to the description of this PR. Due to the sheer number of changes in this PR, we may need to set up a time to do a code review.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- Removed flags and added other files to .gitignore.
- views_utils.py has MET dictionary and is therefore stupidly long;
- search.html has new HTML markup for advanced search, nothing special there.
- rewritten a few functions in giza.js, but functionality exactly the same (basically only changed a few function calls to modern standards)
- search_tags.py: two functions that are part of MET and don't do anything yet--may well disappear in future commits
- views.py: rewritten functions, added functions to convert entrydate text string to milliseconds for querying; added small subroutine for querying ES to look for milliseconds if request is entrydate field
This was only a backup file I used as I was modifying searchresults.html
No description provided.