Skip to content

Commit

Permalink
changing usr_ to user_ for custom categories on Piotr's advice
Browse files Browse the repository at this point in the history
  • Loading branch information
rhodges committed Dec 2, 2020
1 parent 7130219 commit 4f18572
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion geoportal/src/main/resources/metadata/js/EvaluatorFor_ISO.js
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,9 @@ G.evaluators.iso = {

// //Example 1
// G.evalProps(task,item,root,"src_category_cat","//gmd:MD_TopicCategoryCode");
G.evalProps(task,item,root,"usr_category_cat","//gmd:MD_TopicCategoryCode");
if (item.apiso_TopicCategory_s) {
G.evalProps(task,item,root,"user_category_cat","//gmd:MD_TopicCategoryCode");
}

// //Example 2
// var json = task.suppliedJson;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@

<div class="g-filter-collapse" data-dojo-type="app/search/HierarchyTree"
data-dojo-props="
field:'usr_category_cat',
field:'user_category_cat',
label:'${i18n.search.criteria.hierarchicalCategory}'">
</div>

Expand Down

0 comments on commit 4f18572

Please sign in to comment.