Advertisement
Guest User

URI scoping weirdness in 2.4 search

a guest
Jun 27th, 2013
65
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.73 KB | None | 0 0
  1. Org tree:
  2.  
  3. CONSORTIUM
  4. |
  5. FEDERATION
  6. |
  7. +------------+
  8. | |
  9. LIB1 LIB2
  10.  
  11. (1) In 2.4, this correctly returns 2 results with URIs scoped to LIB1:
  12.  
  13. request open-ils.search open-ils.search.biblio.multiclass.query {"limit":"10","offset":"0"}, "re:imagining change how to site(LIB1) depth(2)", 1
  14.  
  15. (2) In 2.4, this returns 14 results, including records with no URIs (or other holdings) scoped to LIB1 or otherwise accessible to it:
  16.  
  17. request open-ils.search open-ils.search.biblio.multiclass.query.staff {"limit":"10","offset":"0"}, "re:imagining change how to site(LIB1) depth(2)", 1
  18.  
  19. (3) In 2.2, both of the above queries return only the 2 LIB1-scoped results. This is the desired behavior for us.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement