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 //div[contains(@id, "Login_UP")]//span[contains(@id, "lblMessage")] 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':'0', 'userName': '{$username}', 'copyId': '{$book._copyId}', 'culture':'{$culture}', 'localResourceFile':'/DesktopModules/OCLC.OPEN.PL.DNN.PatronAccountModule/App_LocalResources/NormalView'}}
let $d := json($raw).d return
if ($d.IsExtendable) then (book.statusId := "normal")
else (book.status := $d.StatusMessages, book.statusId := "critical")
form := form-combine($user-form, ($renew-books ! {(.)._renewid: "on"}, $renew-button) )
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 := (), i := 1,
search-keys := {"title": "Title", "author": "Author", "keywords": "Keyword", "isbn": "ISBNandISSN"},
search-reverse-keys := {"Publisher": "publisher", "ProductionYear": "year", "Author": "author", "IsbnTitle": "isbn"},
startSearch := form-combine($search-form, {|
$search-year-values ! { @name: $book.year },
(
for $key in jn:keys($book) return if (boolean($book($key)) and exists($search-keys($key)) and $i le count($search-fields) ) then (
{($search-fields[$i]/@name) : $search-keys($key), ($search-values[$i]/@name) : $book($key)},
($i := $i + 1)[0]
) else ()
)
|})
$target-page := $last-visited-page + 1
target-page := $book._page
combined-detail-form := form-combine($form, {'__EVENTTARGET': $book._detailId})
urlaccount := $loginlink, current-page := 1
loggedIn := true()