Template für Bibliotheca Plus/OPEN
Vollständige URL der Seite für den Kontozugriff
Vollständige URL der Seite für die erweiterte Suche
{
for $message in //span[ends-with(@id, "lblMessage")][ancestor::div[ends-with(@id, "Login_UP") or contains(@class, "dnnFormValidationSummary")]]
return vl:raise-login(normalize-space($message))
}
Accept: application/json, text/javascript, */*; q=0.01
Content-Type: application/json;charset=utf-8
X-Requested-With: XMLHttpRequest
{{'portalId':'{$portalId}', 'userName': '{$userRndId}', 'copyId': '{$book._copyId}', 'copyIds': '{$book._copyId}', 'culture':'{$culture}', 'localResourceFile':'{$localResourceFile}'}}
let $d := json($raw).d
let $d := if ($d instance of array()) then $d(1) else $d
return
if ($d.IsExtendable) then (book.statusId := "normal")
else (book.status := $d.StatusMessages, book.statusId := "critical")
if (exists($renew-button)) then
form := form-combine($user-form, ($renew-books ! {(.)._renewid: "on"}, $renew-button) )
else
vl:raise-internal("Verlängerungsbutton nicht gefunden. Vielleicht ist die Karte abgelaufen.")
form := form-combine($user-form, ($cancel-books[(.).statusId eq 'ordered'] ! {(.)._cancelid: "on"}, $cancel-ordered-button) )
form := form-combine($user-form, ($cancel-books[(.).statusId eq 'provided'] ! {(.)._cancelid: "on"}, $cancel-provided-button) )
$current-page := $current-page - 1
$current-page := $current-page + 1
$current-page := $current-page + 1, $last-visited-page := $current-page
loggedIn := false()
current-page := 1, last-visited-page := 1, next-page := (),
search-keys := {"title": "Title", "author": "Author", "free": "Free", "keywords": "Keyword", "isbn": "ISBNandISSN"},
search-reverse-keys := {"Publisher": "publisher", "ProductionYear": "year", "Author": "author", "IsbnTitle": "isbn", "1stIsbnTitle": "isbn", "Free": "free"},
startSearch := form-combine($search-form, {|
$search-year-values ! { .: $book.year },
for $key in map:keys($book)
where $book($key) and $search-keys($key)
count $i
where $i le count($search-fields)
return {$search-fields[$i] : $search-keys($key), $search-values[$i]: $book($key)},
for $key in jn:keys($book)
where $book($key) and $select-map($key)
return {$select-map($key)/@name: $book($key)}
|})
$target-page := $last-visited-page + 1
target-page := $book._page
combined-detail-form := if (starts-with($book._detailId, "http")) then $book._detailId else form-combine($form, {'__EVENTTARGET': $book._detailId})
urlaccount := $loginlink
loggedIn := true()
need-reserve-request-target := (get("holding",())[1]("_orderTarget"), $book._orderTarget)[.]
need-reserve-request-target := ()
{vl:raise(.)}