diff --git a/app/public/cantusdata/views/chant_set.py b/app/public/cantusdata/views/chant_set.py index 8e77419c..2bb6bf47 100644 --- a/app/public/cantusdata/views/chant_set.py +++ b/app/public/cantusdata/views/chant_set.py @@ -25,6 +25,7 @@ "position", "mode", "differentia", + "differentiae_database", "finalis", "incipit", "full_text", diff --git a/nginx/public/node/frontend/public/js/app/manuscript-detail/folio/chant-record.template.html b/nginx/public/node/frontend/public/js/app/manuscript-detail/folio/chant-record.template.html index c6d0d697..64d5af43 100644 --- a/nginx/public/node/frontend/public/js/app/manuscript-detail/folio/chant-record.template.html +++ b/nginx/public/node/frontend/public/js/app/manuscript-detail/folio/chant-record.template.html @@ -31,6 +31,9 @@ <% if (differentia) { %>
Differentia: <%= differentia.replace('w', 'ω') %>
<% } %> +<% if (differentiae_database) { %> +Differentiae Database: <%= differentiae_database %>
+<% } %> <% if (finalis) { %>Finalis: <%= finalis %>
<% } %> diff --git a/nginx/public/node/frontend/public/js/app/search/chant-search/ChantSearchProvider.js b/nginx/public/node/frontend/public/js/app/search/chant-search/ChantSearchProvider.js index c9c4ec36..60905e15 100644 --- a/nginx/public/node/frontend/public/js/app/search/chant-search/ChantSearchProvider.js +++ b/nginx/public/node/frontend/public/js/app/search/chant-search/ChantSearchProvider.js @@ -21,7 +21,9 @@ var KNOWN_FIELDS = [ {type: "mode", "name": "Mode"}, {type: "feast", "name": "Feast"}, {type: "genre", "name": "Genre"}, - {type: "office", "name": "Office"} + {type: "office", "name": "Office"}, + {type: "differentia", "name": "Differentia"}, + {type: "differentiae_database", "name": "Differentiae Database"} ]; var INITIAL_LOAD_CUTOFF = 100; @@ -53,7 +55,8 @@ export default Marionette.Object.extend({ "incipit", "differentia", "finalis", - "folio" + "folio", + "differentiae_database" ], /**