Skip to content

Commit 2c8b2e1

Browse files
authored
Merge pull request #320 from AtlasOfLivingAustralia/319-species-lists-selecting-family-from-popup-filter-returns-error
#319 species lists selecting family from popup filter returns error
2 parents 65158a4 + 92b2e11 commit 2c8b2e1

File tree

3 files changed

+2
-1
lines changed

3 files changed

+2
-1
lines changed

.DS_Store

-6 KB
Binary file not shown.

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ out
66
/.slcache
77
/logs
88
*.iml
9+
.DS_Store
910
grails-app/.DS_Store
1011
grails-app/controllers/.DS_Store
1112
grails-app/controllers/au/.DS_Store

grails-app/views/speciesListItem/_facet.gsp

+1-1
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@
6464
</g:if>
6565
<g:else>
6666
<td><g:link action="list" id="${params.id}"
67-
params="${[fq: sl.buildFqList(fqs: fqs, fq: "${key}:${arr[0]}"), q: params.q, max: params.max]}">${arr[0]}</g:link></td>
67+
params="${[fq: sl.buildFqList(fqs: fqs, fq: "${QueryService.MATCHED_FAMILY.equals(key) ? 'matched family' : key}:${arr[0]}"), q: (params.q) ?: null, max: params.max]}">${arr[0]}</g:link></td>
6868
<td style="text-align: right; border-right-style: none;">${arr[1]}</td>
6969
</g:else>
7070
</tr>

0 commit comments

Comments
 (0)