-
Notifications
You must be signed in to change notification settings - Fork 4
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 differentiae_database
and make differentia-related fields searchable
#815
Conversation
5e4c23e
to
f69c517
Compare
Add differentia and differentiae_database search fields Add differentia and differentiae_database to full text search
<% if (differentiae_database) { %> | ||
<p><b>Differentiae Database: </b> <%= differentiae_database %></p> | ||
<% } %> |
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.
Not required before merging, but - I appreciate the indentation in these lines! It would really help readability if such indentation was applied to the rest of the file.
(also - what templating language is this? I'm confused by the javascripty parens-with-braces for conditionals, but wrapped in <% %>
...)
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.
The template language is underscore's I believe (underscore is a dependency of marionette) <% ... %>
executes the javascript code at ...
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.
I don't understand what all is necessary for Solr (and for Marionette - is it involved here?), but nothing is jumping out at me as wrong. Let this be a "weak" approval - you might want to get another set of eyes on this before merging.
This PR:
differentiae_database
field from CantusDB to the chant model (Closes Adddifferentiae_database
to the chant model #805)differentia
anddifferentiae_database
field searchable (Closes Provide field search for differentia data #804)