Skip to content

Commit

Permalink
Merge pull request #159 from charvolant/master
Browse files Browse the repository at this point in the history
Cosmetic changes and config
  • Loading branch information
charvolant authored Jun 24, 2019
2 parents fb25ca4 + 001a6df commit a730b2c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions grails-app/i18n/messages.properties
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,7 @@ idxtype.COLLECTION=Collection
idxtype.DATAPROVIDER=Data provider
idxtype.DATASET=Dataset
idxtype.DATARESOURCE=Data resource
idxtype.KNOWLEDGEBASE=Support article
idxtype.REGION=Region
idxtype.LOCALITY=Locality
idxtype.WORDPRESS=Site Page
Expand Down
2 changes: 1 addition & 1 deletion grails-app/views/externalSite/_bhl.gsp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<div class="results-summary">
<g:if test="${!max}">
<g:message code="bhl.page.none" args="${[search.join(', ')]}"/>
<g:message code="page.bhl.none" args="${[search.join(', ')]}"/>
</g:if>
<g:else>
<g:message code="page.bhl.showing" args="${[ start + 1, Math.min(max, start + rows), max, search.join(', ')]}"/>
Expand Down
2 changes: 1 addition & 1 deletion grails-app/views/species/bhlSearch.gsp
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@
return cancelSearch("No names were found to search BHL");
}
var source = "${grailsApplication.config.literature?.bhl?.url ?: '//bhlidx.ala.org.au/select'}";
var source = "${grailsApplication.config.literature.bhl.url}";
var url = source + "?q=" + query + '&start=' + start + "&rows=" + rows +
"&wt=json&fl=name%2CpageId%2CitemId%2Cscore&hl=on&hl.fl=text&hl.fragsize=200&" +
"group=true&group.field=itemId&group.limit=11&group.ngroups=true&taxa=false";
Expand Down

0 comments on commit a730b2c

Please sign in to comment.