Skip to content

Commit

Permalink
Fix merge xquery (#188)
Browse files Browse the repository at this point in the history
* remove unused parameter

* use variable in text output

* add missing parameters
  • Loading branch information
peterstadler authored Jan 17, 2024
1 parent 6d999b7 commit f374ff9
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 2 additions & 0 deletions modules/merge/merge.xq
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,8 @@ let $params :=
<param name="hostname" value="{request:get-header('HOST')}"/>
<param name="language" value="{$language}"/>
<param name="score" value="{$score}"/>
<param name="app-root" value="{$config:app-root}"/>
<param name="data-root" value="{$config:data-root}"/>
</parameters>

let $list := loop:getlist($database,$coll,$genre,$query)
Expand Down
2 changes: 1 addition & 1 deletion modules/merge/merge_settings.xq
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ let $formpage :=
<input type="text" value="{$query}" name="query" style="width: 30em;"/><br/>&#160;
</p>
<p><strong>eXist database</strong><br/>
The collection /db/apps/mermeid/data/ is where MerMEId stores your files by default. /db/apps/mermeid/data-public/ usually
The collection {$database} is where MerMEId stores your files by default. {$database} usually
contains the files you have published with MerMEId.<br/>
<input type="text" value="{$database}" name="db" style="width: 30em;"/><br/>&#160;
</p>
Expand Down
1 change: 0 additions & 1 deletion style/mei_to_html.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@

<xsl:strip-space elements="*"/>

<xsl:param name="doc"/>
<xsl:param name="app-root"/>
<xsl:param name="data-root"/>
<xsl:param name="language"/>
Expand Down

0 comments on commit f374ff9

Please sign in to comment.