Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
fontane-notizbuecher
SADE
Commits
b0c95966
Commit
b0c95966
authored
Aug 03, 2018
by
Mathias Goebel
Browse files
fixing misc nb title by GET param
parent
8c85f4b7
Changes
1
Hide whitespace changes
Inline
Side-by-side
modules/fontane/misc.xqm
View file @
b0c95966
...
...
@@ -21,7 +21,9 @@ function f-misc:get-title-by-baseUri($baseUri as xs:string) as xs:string? {
declare function f-misc:nb-param-to-title($node as node(), $model as map(*), $nb)
as xs:string? {
f-misc:get-title-by-baseUri( "textgrid:" || $nb )
if($nb = "")
then ""
else f-misc:get-title-by-baseUri( "textgrid:" || $nb )
};
declare function f-misc:cite($node as node(), $model as map(*)) {
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment