I can't get several fields from authority.simple_heading via cstore

Bug #1775049 reported by Jane Sandberg
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Evergreen
New
Undecided
Unassigned

Bug Description

The authority.simple_heading table has some cool stuff in it (the thesaurus of an authority record! a sort_value for better sorting!), but it's hard to get to. It's not set up for pcrud access in the IDL. I tried using cstore, but I can only seem to get a handful of fields to access that way. Here are two cstore requests that I attempted:

srfsh# request open-ils.cstore open-ils.cstore.direct.authority.simple_heading.retrieve 6

Received Data: {
  "__c":"ash",
  "__p":[
    6,
    2,
    61,
    "Kabalewski, Dmitri 1904-"
  ]
}

srfsh# request open-ils.cstore open-ils.cstore.direct.authority.simple_heading.retrieve 6, {"select": {"ash":["sort_value","thesaurus"]}}

Received Data: {
  "__c":"ash",
  "__p":[

  ]
}

Is this because the IDL only lists a handful of fields (id, record, atag, value)? It would be great to be able to access sort_value and thesaurus using at least one of Evergreen's APIs! Thanks for your help.

Elaine Hardy (ehardy)
tags: added: cat-authority
removed: authority
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.