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 differentiae_database and make differentia-related fields searchable #815

Merged
merged 5 commits into from
Jan 29, 2024

Conversation

dchiller
Copy link
Collaborator

@dchiller dchiller commented Jan 22, 2024

This PR:

README.md Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
.env.sample Outdated Show resolved Hide resolved
Add differentia and differentiae_database search fields

Add differentia and differentiae_database to full text search
@dchiller dchiller marked this pull request as ready for review January 25, 2024 22:41
Comment on lines +34 to +36
<% if (differentiae_database) { %>
<p><b>Differentiae Database: </b> <%= differentiae_database %></p>
<% } %>

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 <% %>...)

Copy link
Collaborator Author

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 ...

https://underscorejs.org/#template

Copy link

@jacobdgm jacobdgm left a 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.

@dchiller dchiller merged commit a1525af into DDMAL:main Jan 29, 2024
2 checks passed
@dchiller dchiller deleted the differentia-field branch January 29, 2024 16:24
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.

Add differentiae_database to the chant model Provide field search for differentia data
3 participants