Open christinach opened 2 years ago
During the Orangelight meeting we decided to add the blue online label back and next to the status.
@kevinreiss @mzelesky I checked this record again and noticed that the availability response returns that it is not on cdl, cdl: false
. This is why the extra blue online badge is not there. https://bibdata.princeton.edu/bibliographic/availability.json?deep=true&bib_ids=99125464716806421
{
"99125464716806421": {
"22919898220006421": {
"on_reserve": "N",
"location": "firestone$pf",
"label": "Firestone Library - Remote Storage (ReCAP): Firestone Library Use Only",
"status_label": "Unavailable",
"copy_number": null,
"cdl": false,
"temp_location": false,
"id": "22919898220006421"
}
}
}
I think we need to look in alma and make sure that this item is in the type of order controlled digital lending and if not to update it.
In Alma, the only item on that bib is indeed in the CDL work order.
So something is happening with the availability call.
Thank you for checking @mzelesky . I will check
When I just clicked the link above, it gave cdl:true.
yeah you are right. I dont know what's going on. I copied the response from the webpage like I did with this one. { "99125464716806421": { "22919898220006421": { "on_reserve": "N", "location": "firestone$pf", "label": "Firestone Library - Remote Storage (ReCAP): Firestone Library Use Only", "status_label": "Unavailable", "copy_number": null, "cdl": true, "temp_location": false, "id": "22919898220006421" } } }
@mzelesky @christinach Would there be any way to include a flag in the data we index that denotes something is on CDL rather than trying to deal with this information in real-time?
When closing this ticket. Follow up with Joann: https://faq.library.princeton.edu/admin/ticket?qid=9414780
Based on the JS code, CDL records in the search results, should display an 'Online' label next to the availability status. Do we still want to do that?
Example record https://catalog.princeton.edu/catalog?utf8=%E2%9C%93&search_field=all_fields&q=99125464716806421
We will discuss this on Thursday 05-12-2022 (Orangelight meeting) question came in https://faq.library.princeton.edu/admin/ticket?qid=9414780