<div dir="ltr"><div class="gmail_default" style="font-family:tahoma,sans-serif;font-size:small"><br clear="all"></div><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><span><font size="1"><br></font><div dir="ltr" style="margin-left:0pt"><table style="border:none;border-collapse:collapse"><colgroup><col width="94"><col width="530"></colgroup><tbody><tr style="height:123pt"><td style="vertical-align:top;padding:5pt"><p dir="ltr" style="line-height:1.2;margin-top:0pt;margin-bottom:0pt"><span style="font-family:Arial;color:rgb(0,0,0);background-color:transparent;vertical-align:baseline;white-space:pre-wrap"><font size="1"><img src="https://lh3.googleusercontent.com/Qvs9YKU3vVCwZnnX6Mwltd9L46cp3uEBQOpLMBHo9iOmxJvPkmGiWdp7mBBbkAZbSJ0tddRjVPYeva8q9dl-wS5aUgLTD_Y_gr1FZDmim1HFNZLECANQQ3QHjV_p34QDmaeKK42k" width="76" height="76" style="border:none"></font></span></p></td><td style="vertical-align:top;padding:5pt"><p dir="ltr" style="line-height:1.2;margin-top:0pt;margin-bottom:0pt;margin-left:9pt"><span style="font-family:Verdana;color:rgb(30,67,155);background-color:transparent;font-weight:700;vertical-align:baseline;white-space:pre-wrap">Tiffany Little, PINES Services Specialist: Acquisitions</span></p><p dir="ltr" style="line-height:1.2;margin-top:0pt;margin-bottom:0pt;margin-left:9pt"></p><hr><p></p><p dir="ltr" style="line-height:1.2;margin-top:0pt;margin-bottom:0pt;margin-left:9pt"><font size="1"><span style="font-family:Verdana;color:rgb(0,0,0);background-color:transparent;font-weight:700;vertical-align:baseline;white-space:pre-wrap"></span><span style="font-family:Verdana;color:rgb(30,67,155);background-color:transparent;font-weight:700;vertical-align:baseline;white-space:pre-wrap">Georgia Public Library Service | University System of Georgia</span></font></p><p dir="ltr" style="line-height:1.2;margin-top:0pt;margin-bottom:0pt;margin-left:9pt"><span style="font-family:Verdana;color:rgb(30,67,155);background-color:transparent;vertical-align:baseline;white-space:pre-wrap"><font size="1">2872 Woodcock Blvd, Suite 250 l Atlanta, GA 30341</font></span></p><p dir="ltr" style="line-height:1.2;margin-top:0pt;margin-bottom:0pt;margin-left:9pt"><font size="1"><span style="font-family:Verdana;color:rgb(30,67,155);vertical-align:baseline;white-space:pre-wrap">(470) 512-1454</span><span style="font-family:Verdana;color:rgb(30,67,155);background-color:transparent;vertical-align:baseline;white-space:pre-wrap"> | <a href="mailto:tlittle@georgialibraries.org" target="_blank">tlittle@georgialibraries.org</a> | <a href="mailto:help@help.georgialibraries.org" target="_blank">help@help.georgialibraries.org</a></span></font></p><font size="1"><br></font><p dir="ltr" style="line-height:1.2;margin-top:0pt;margin-bottom:0pt;margin-left:9pt"><font size="1"><a href="https://www.facebook.com/georgialibraries" target="_blank"><span style="font-family:Verdana;color:rgb(17,85,204);background-color:transparent;vertical-align:baseline;white-space:pre-wrap"><img src="https://lh6.googleusercontent.com/LJC0pI1Cdr4SE2TK6YVYnhAJg7hJcU18D5if4erk5gIJwZaifBkkSH1vlEGX-JBXVdeL68Z93dkjt0vra0SC26t_rV8Ii4hTXmLLqBF314Ah6xvYzFhgiRvo_LJiDGqDUwvbEna7" width="36" height="36" style="border:none"></span></a><span style="font-family:Verdana;color:rgb(0,0,0);background-color:transparent;vertical-align:baseline;white-space:pre-wrap"> </span><a href="https://www.twitter.com/georgialibs" target="_blank"><span style="font-family:Verdana;color:rgb(17,85,204);background-color:transparent;vertical-align:baseline;white-space:pre-wrap"><img src="https://lh5.googleusercontent.com/zTgpJg7MGohwWn6DsRVODDeZjxFw76vvNBjRCyop4r7pTgjIaH1Eyk1icjjOhDQdPCdRUw2ULF3JUfZfbhlOsaS-yNJ_EW_FvEl_rniI5YbdN9_hR3kBZamKexstH7jJ_oCpE4IB" width="35" height="35" style="border:none"></span></a></font></p></td></tr><tr style="height:21pt"><td colspan="2" style="vertical-align:top;padding:5pt"><p dir="ltr" style="line-height:1.2;margin-top:0pt;margin-bottom:0pt;text-align:center"><font size="1"><a href="http://georgialibraries.org" target="_blank"><span style="font-family:Verdana;color:rgb(17,85,204);font-style:italic;vertical-align:baseline;white-space:pre-wrap">Join our email list</span></a><span style="font-family:Verdana;color:rgb(0,0,0);font-style:italic;vertical-align:baseline;white-space:pre-wrap"> </span><span style="font-family:Verdana;color:rgb(67,67,67);font-style:italic;vertical-align:baseline;white-space:pre-wrap">for stories of Georgia libraries making an impact in our communities.</span></font></p></td></tr></tbody></table></div></span></div></div></div></div></div></div></div></div></div></div></div></div></div><br><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">---------- Forwarded message ---------<br>From: <strong class="gmail_sendername" dir="auto">Daniel Wells</strong> <span dir="auto"><<a href="mailto:dbwells@gmail.com">dbwells@gmail.com</a>></span><br>Date: Wed, Jul 10, 2019 at 9:47 PM<br>Subject: Re: [OPEN-ILS-DEV] Pcrud fleshing question<br>To: Evergreen Development Discussion List <<a href="mailto:open-ils-dev@list.georgialibraries.org">open-ils-dev@list.georgialibraries.org</a>><br></div><br><br><div dir="ltr">Hello Jane,<div><br></div><div>It looks like your issue is that the IDL is not correct. 'pickup_lib' should be a 'has_a' relationship.</div><div><br></div><div>Despite the names, 'has_a' and 'might_have' are not for nullability, but key directionality. 'might_have' would mean that 'pickup_lib' (aou) has a key pointing back at bresv, but that isn't the case. The key for pickup_lib (if it exists) points from bresv to aou.</div><div><br></div><div>Sincerely,</div><div>Dan</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Jul 10, 2019 at 9:00 PM Jane Sandberg <<a href="mailto:sandbej@linnbenton.edu" target="_blank">sandbej@linnbenton.edu</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi all,<br>
<br>
When I run the following in srfsh:<br>
<br>
request open-ils.pcrud open-ils.pcrud.search.bresv<br>
"<auth_token_goes_here>", {"id" : {">" : 0}}, {"flesh" : 1,<br>
"flesh_fields" : {"bresv": ["pickup_lib"]}}<br>
<br>
The pickup_lib field is not fleshed; I just get its ID. However, if I<br>
change "pickup_lib" to "request_lib", it fleshes just fine:<br>
<br>
request open-ils.pcrud open-ils.pcrud.search.bresv<br>
"<auth_token_goes_here>", {"id" : {">" : 0}}, {"flesh" : 1,<br>
"flesh_fields" : {"bresv": ["request_lib"]}}<br>
<br>
I feel like I must be missing something obvious. pickup_lib and<br>
request_lib seem almost identical, except that one of them can be<br>
null. How can I get all the nice data about the pickup_lib?<br>
<br>
Thanks!<br>
-Jane<br>
<br>
-- <br>
Jane Sandberg<br>
Electronic Resources Librarian<br>
Linn-Benton Community College<br>
<a href="mailto:sandbej@linnbenton.edu" target="_blank">sandbej@linnbenton.edu</a> / 541-917-4655<br>
Pronouns: she/her/hers<br>
</blockquote></div>
</div></div>