scriptotek / emnesok

Realfagsbibliotekets emnesøk
http://www.ub.uio.no/om/prosjekter/scriptotek/emnesok-og-infrastruktur-for-emneord.html
MIT License
1 stars 0 forks source link

Update to use new Primo search API #128

Closed danmichaelo closed 5 years ago

danmichaelo commented 5 years ago

This one:

https://developers.exlibrisgroup.com/primo/apis/docs/primoSearch/R0VUIC9wcmltby92MS9zZWFyY2g=/

LSM supports it (primo/v2/search), but does less post-processing to make it into a simple model object, so we need to move some PHP code from LSM to JS in Emnesøk:

https://github.com/scriptotek/lsm/blob/master/app/PrimoResult.php

https://github.com/scriptotek/lsm/blob/master/app/PrimoRecord.php

danmichaelo commented 5 years ago

Fixed in c4a2d81edd77b738828bc08395c6257c1b3a9a44