Skip to content

Commit 60a8e9d

Browse files
committed
fixes to support double quotes in query contexts
1 parent 2b835f6 commit 60a8e9d

File tree

3 files changed

+9
-2
lines changed

3 files changed

+9
-2
lines changed

grails-app/i18n/messages.properties

+7
Original file line numberDiff line numberDiff line change
@@ -67,8 +67,11 @@ advancedsearch.table06col04.title = region
6767
advancedsearch.table06col04.option.label = -- select an IMCRA region --
6868
advancedsearch.table06col05.title = Local Govt. Area
6969
advancedsearch.table06col05.option.label = -- select local government area--
70+
advancedsearch.specieslist.option.label= -- select a species list --
7071
advancedsearch.title07 = Find records from the following type status
72+
advancedsearch.specieslist = Find records associated with the following list
7173
advancedsearch.table07col01.title = Type Status
74+
advancedsearch.specieslist.title=Species list
7275
advancedsearch.table07col01.option.label = -- select a type status --
7376
advancedsearch.title08 = Find records from the following basis of record (record type)
7477
advancedsearch.table08col01.title = Basis of record
@@ -485,6 +488,10 @@ facet.data_resource_uid=Data resource
485488
facet.data_resource=Data resource
486489
facet.dataset_name=Dataset name
487490
facet.species_list_uid=Species lists
491+
facet.identification_qualifier_s=Identification qualifier
492+
facet.occurrence_status=Occurrence status
493+
facet.date_precision=Date precision
494+
facet.license=Licence
488495

489496
search.facets.heading=Narrow your results
490497
search.filters.heading=Selected filters

grails-app/views/occurrence/exploreYourArea.gsp

+1-1
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@
5555
radius: ${radius},
5656
filters: '${raw(grailsApplication.config.exploreYourArea.filters)}',
5757
speciesPageUrl: "${speciesPageUrl}",
58-
queryContext: "${queryContext}",
58+
queryContext: '${raw(queryContext)}',
5959
locale: "${org.springframework.web.servlet.support.RequestContextUtils.getLocale(request)}",
6060
geocodeRegion: "${grailsApplication.config.geocode.region}",
6161
hasGoogleKey: ${grailsApplication.config.google.apikey as Boolean}

grails-app/views/occurrence/list.gsp

+1-1
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747
defaultListView: "${grailsApplication.config.defaultListView}",
4848
resourceName: "${grailsApplication.config.skin.orgNameLong}",
4949
facetLimit: "${grailsApplication.config.facets.limit?:50}",
50-
queryContext: "${grailsApplication.config.biocache.queryContext}",
50+
queryContext: '${raw(grailsApplication.config.biocache.queryContext)}',
5151
selectedDataResource: "${selectedDataResource}",
5252
autocompleteHints: '{${raw(grailsApplication.config.bie?.autocompleteHints)}}',
5353
zoomOutsideScopedRegion: Boolean("${grailsApplication.config.map.zoomOutsideScopedRegion}"),

0 commit comments

Comments
 (0)