Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue 327 #331

Merged
merged 14 commits into from
Dec 2, 2019
Prev Previous commit
Next Next commit
checkboxes are checked (marked active) by default
  • Loading branch information
jakosch authored and peterstadler committed Dec 2, 2019
commit b22b878dd55a30b5545e0af9038e2698a3b1a2a9
2 changes: 1 addition & 1 deletion modules/app.xqm
Original file line number Diff line number Diff line change
Expand Up @@ -1704,7 +1704,7 @@ declare
return
for $docType in $search:wega-docTypes
let $class :=
if($docType = $selected-docTypes) then normalize-space($node/@class) || ' active'
if($docType = $selected-docTypes or empty($selected-docTypes)) then normalize-space($node/@class) || ' active'
else normalize-space($node/@class)
let $displayTitle := lang:get-language-string($docType, $lang)
order by $displayTitle
Expand Down