Skip to content

Commit

Permalink
fix regression
Browse files Browse the repository at this point in the history
  • Loading branch information
gmella committed Sep 13, 2023
1 parent 5396c71 commit 2f9a524
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions content/adsabs.xql
Original file line number Diff line number Diff line change
Expand Up @@ -333,9 +333,8 @@ declare function adsabs:library-clear($name-or-id){
adsabs:library-add-or-remove($name-or-id, $bibcodes, "remove")
};


declare %private function adsabs:library-add-or-remove($name-or-id, $bibcodes, $action){
if ($bibcodes) then
if (exists($bibcodes)) then
let $quoted-bibcodes-todo := for $b in $bibcodes return """||$b||"""
let $payload := '{"action":"'||$action||'" ,"bibcode": [' || string-join($quoted-bibcodes-todo, ", ") || "]}"
let $id := adsabs:get-libraries()?*?*[?name=$name-or-id or ?id=$name-or-id]?id
Expand Down
Binary file modified target/jmmc-libs/jmal-TRUNK.jar
Binary file not shown.
Binary file modified target/jmmc-libs/oiexplorer-existdb-TRUNK.jar
Binary file not shown.
Binary file modified target/jmmc-libs/oitools-TRUNK.jar
Binary file not shown.

0 comments on commit 2f9a524

Please sign in to comment.