Template für das Sisis-System Serveraddresse (inklusive Protokoll) Parameter für den Aufruf des Web-OPACs, falls mehrere Bibliotheken auf dem Server existieren (inklusive "?") touchpoint := contains($server, "touchpoint") requestedUrl := (), orderedUrl := (), startUrl := x'{$server}/userAccount.do;jsession;?methodToCall={if ($touchpoint) then "start" else "show&typ=1"}', minRenewedId := $minCancelId := "ZZZZZZZZ", nextPage := () resolve-uri($requestedUrl) resolve-uri($orderedUrl) list := for $book in $renew-books order by $book.actionURI descending return $book, need-update := false() list := for $book in $list ! vl:select-book(.) order by $book.actionURI descending return $book let $x := ($list[count($list)].actionURI) return if ($x lt $minRenewedId) then $minRenewedId := $x else () list := for $book in $cancel-books order by $book.actionURI descending return $book list := for $book in $list ! vl:select-book(.) order by $book.actionURI descending return $book let $x := ($list[count($list)].actionURI) return if ($x lt $minCancelId) then $minCancelId := $x else () $home-branches := $search-branches := (), $home-branch-id := $search-branch-id := 0 oldSearchOptionCount := get("searchOptionCount", 0), searchOptions := (if ($book.title) then [if ($touchpoint) then "200" else "331", ($book.title)] else (), if ($book.author) then ["100", ($book.author)] else (), if ($book.isbn) then [if ($touchpoint) then "490" else "540", ($book.isbn)] else (), if ($book.year) then [if ($touchpoint) then "280" else "425", ($book.year)] else (), if ($book.keywords) then [if ($touchpoint) then "50" else "902", ($book.keywords)] else ()), searchOptionCount := count($searchOptions), searchUrl := uri-combine( x"{$server}/search.do?methodToCall=submit&CSId={$CSId}&methodToCallParameter=submitSearch", ( { "searchCategories[0]": $searchOptions[1](1), "searchString[0]": $searchOptions[1](2) }, if ($searchOptionCount > 1 or $oldSearchOptionCount > 1) then { "combinationOperator[1]": "AND", "searchCategories[1]": $searchOptions[2](1), "searchString[1]": $searchOptions[2](2) } else (), if ($searchOptionCount > 2 or $oldSearchOptionCount > 2) then { "combinationOperator[2]": "AND", "searchCategories[2]": $searchOptions[3](1), "searchString[2]": $searchOptions[3](2) } else (), {"submitSearch": "Suchen", "callingPage": "searchParameters"}, if (exists($home-branches[$home-branch-id])) then {$home-branch-name: $home-branch-values[$home-branch-id]} else (), if (exists($search-branches[$search-branch-id])) then ($search-branch-extended-options, {$search-branch-name: $search-branch-values[$search-branch-id]}) else () ) ) $nextPage:=$singleBookResult:=speedPage:="" $nextPage != '' $nextPage != '' true() confirm := "", finish-order-now := false(), choose-result:=1, url := $book(concat('order', $book.choosenOrder)), post := $book(concat('orderPost', $book.choosenOrder)), if ($post) then url := {"url": $url, "post": $post, "method": "POST"} else () { "url": $confirm.url, "method": $confirm.method, "post": replace(replace($confirm.post, "issuepoint=", concat("issuepoint=", $choose-result )) (: old sisis :), "location=", concat("location=", $choose-result)) (: touchpoint :) }