Bring located URIs back into unapi search results
authorDan Scott <dan@coffeecode.net>
Sun, 11 Mar 2012 19:52:40 +0000 (15:52 -0400)
committerDan Scott <dan@coffeecode.net>
Thu, 15 Mar 2012 04:34:33 +0000 (00:34 -0400)
commit4b452613951a2655077dcdf205acdc51677c00f8
treea4a44f985099f547bdcf1fa12295d5c30f3d56e0
parent41ea37e8e0dff6042e8ae5f0583f348bfb524631
Bring located URIs back into unapi search results

When we ordered results by copy name and added the copy table to the
join, we eliminated all call numbers for located URIs (because they
don't have copies, naturally).

Rectify that in a crude UNION of the results, with located URIs from the
preferred library (if any) favoured of those of the search library.

Signed-off-by: Dan Scott <dan@coffeecode.net>
Open-ILS/src/sql/Pg/990.schema.unapi.sql
Open-ILS/src/sql/Pg/upgrade/XXXX.schema.unapi_limit_rank.sql