Evergreen ILS Website

IRC log for #evergreen, 2015-10-12

| Channels | #evergreen index | Today | | Search | Google Search | Plain-Text | summary | Join Webchat

All times shown according to the server's local time.

Time Nick Message
00:04 dcook joined #evergreen
00:31 bmills joined #evergreen
00:33 bmills1 joined #evergreen
01:04 Mark__T joined #evergreen
01:26 bmills joined #evergreen
06:40 rlefaive joined #evergreen
07:36 sarabee joined #evergreen
07:42 collum joined #evergreen
07:42 Callender joined #evergreen
07:46 ericar joined #evergreen
08:39 Shae joined #evergreen
08:52 Callender joined #evergreen
09:09 jeff @coffee
09:09 * pinesol_green brews and pours a cup of Decaf Organic Caffe Volcan, and sends it sliding down the bar to jeff
09:12 mrpeters joined #evergreen
09:14 maryj joined #evergreen
09:44 jeff waitaminute.
09:44 jeff DECAF!?
09:57 dMiller_ joined #evergreen
09:59 Bmagic @coffee
09:59 * pinesol_green brews and pours a cup of Kenya Ndaroini Microlot, and sends it sliding down the bar to Bmagic
10:01 Bmagic sorry jeff, pinesol must think you are hyper enough
10:05 ericar_ joined #evergreen
10:30 maryj joined #evergreen
11:33 ericar_ joined #evergreen
11:47 rlefaive joined #evergreen
12:11 dMiller_ joined #evergreen
12:20 rlefaive joined #evergreen
12:32 * csharp warms up the cold cup of decaf jeff rejected earlier
12:32 csharp @coffee jeff
12:32 * pinesol_green brews and pours a cup of Panama Esmeralda Especial, and sends it sliding down the bar to jeff
13:08 dMiller_ joined #evergreen
13:35 rlefaive joined #evergreen
14:07 remingtron DPearl: Wondered if you have code for bug 904472?
14:07 pinesol_green Launchpad bug 904472 in Evergreen "Transferring items with monographic parts to a new bib record causes problems with holds placement" [Undecided,Confirmed] https://launchpad.net/bugs/904472 - Assigned to Dan Pearl (dpearl)
14:13 dMiller_ joined #evergreen
14:39 mllewellyn joined #evergreen
15:43 Christineb joined #evergreen
16:24 berick to stop a recurring report w/o deleting the report (or its existing outputs), you delete its pending output/schedule under the Output folder?
16:25 miker berick: yes
16:25 berick miker++ thanks
16:59 Bmagic wow, seriously quiet today. Perhaps Columbus day?
19:05 dcook joined #evergreen
19:29 b_bonner left #evergreen
19:55 dbs Bmagic: Canadian Thanksgiving
21:24 kenstir joined #evergreen
21:29 kenstir gmcharlt: you around?
21:45 kenstir Anybody here that can help with OSRF searching?  Here's my problem: after a query (open-ils.search.biblio.multiclass.query), I have a list of IDs.  How can I tell the physical format via the OSRF gateway?  The android app does open-ils.search.biblio.record.mods_slim.retrieve and also open-ils.search.biblio.record.copy_count, but I don't see they format in either of those responses.
22:03 jeff kenstir: mods_slim.retrieve returns an mvr object, one of whose fields is "types_of_resource", an array containing one or more values like "text", "sound recording-musical", etc.
22:03 jeff for example, https://webby.evergreencatalog.com/osrf-gateway-v​1?service=open-ils.search&method=open-ils.sea​rch.biblio.record.mods_slim.retrieve&param=1 has a types_of_resource value of ["text"]
22:06 jeff that's going to be a value based on a MARCXML to MODS XML transform, mostly based on the code for "record type" in the MARC leader.
22:08 jeff Beyond that, you could: 1) retrieve the MARC record and parse it yourself to get a more fine-grained type, but I'd probably go with something like: 2) use anonymous pcrud to fetch the record attributes since evergreen has probably done all the work for you already.
22:08 jeff something like https://webby.evergreencatalog.com/osrf-gateway-v1​?service=open-ils.pcrud&method=open-ils.pcrud.​retrieve.mra&param=%22ANONYMOUS%22&param=1
22:09 jeff which will potentially return a search_format, icon_format, item_type, etc.
22:10 jeff kenstir: berick's presentation from earlier this year is worth reviewing if you've not seen it already -- there's a slide on anonymous pcrud requests here: http://git.evergreen-ils.org/?p=working/rand​om.git;a=blob_plain;f=api_presentation/web_a​pis.html;hb=refs/heads/collab/berick/eg2015#(20)
22:11 jeff and don't think that you must use the /osrf-gateway-v1 interface just because i'm using it in these examples -- it's just handy to link to as opposed to pasting curl command lines that post through the translator. :-)
22:11 kenstir No I haven't seen it, I will give it a look.
22:14 kenstir pcrud looks like exactly what I need, thanks!  That gives the icon and the search format.  Thanks!
22:16 jeff the call open-ils.pcrud.retrieve.mra is retrieving an object of class "mra", which is metabib.record_attr -- that used to be a database table but is now a database view.
22:21 kenstir Ah, so I would need the IDL for class mra to decode it too.
22:36 jeff or use open-ils.fielder
23:13 jeff ...which apparently isn't usable via the gateway, only the translator?
23:13 jeff curl -XPOST -H "X-OpenSRF-service: open-ils.fielder" --data-urlencode 'osrf-msg=[{"__c":"osrfMessage","__p":{"thre​adTrace":1,"type":"REQUEST","payload":{"__c"​:"osrfMethod","__p":{"method":"open-ils.fiel​der.mra.atomic","params":[{"query":{"id":{"=​":1}}}]}},"locale":"en-US","api_level":1}}]' https://webby.evergreencatal​og.com/osrf-http-translator
23:25 jeff (that may not be the most elegant way of calling it, but hopefully it can serve as a working example)
23:26 jeff and in that example the attrs value would need a bit of special-case parsing, just due to how a postgresql hstore field ends up being expressed

| Channels | #evergreen index | Today | | Search | Google Search | Plain-Text | summary | Join Webchat