Make Evergreen Perl modules installable via Module::Build to match OpenSRF Build.PL gives us an install-time check on dependencies; right now the required versions are not set, but we can update these easily to start catching some of the problematic modules that have tripped sites up in the past. Build.PL really seems to want a top-level "OpenILS.pm" so add a placeholder accordingly. Adjust references to /src/perlmods/ to /src/perlmods/lib/ even though a number of the affected scripts are probably cruft. Use autoconf to provide the default paths in O:WWW:Web and O:WWW:Method; next step is probably to teach autoconf to ask Build.PL to do that for us to make the OpenILS Perl modules more independent. git-svn-id: svn://svn.open-ils.org/ILS/trunk@19340 dcc99617-32d9-48b4-a31d-7c20da2025e4
Enable truncation attribute in Z39.50 queries to be left out entirely Per https://bugs.launchpad.net/evergreen/+bug/702695, some Z39.50 servers hate the truncation attribute (@attr 5=anything) and always return 0 hits. This gives you the ability to specify a negative value for the truncation attribute and thereby prevent the truncation attribute from being included in the Z39.50 query for a given server. git-svn-id: svn://svn.open-ils.org/ILS/trunk@19175 dcc99617-32d9-48b4-a31d-7c20da2025e4
Forward port r17847: Make query parser a bit more careful when converting convenience classes to search classes Queries like "Heart disease: a global problem" were getting converted to series searches due to the trailing "se:" in the search terms. This change ensures that the convenience class is either at the start of the input or preceded by whitespace. git-svn-id: svn://svn.open-ils.org/ILS/trunk@17883 dcc99617-32d9-48b4-a31d-7c20da2025e4
display copy counts correctly in staff search results Also fixes following warning: Useless use of a constant in void context at .../OpenILS/Application/Search/Biblio.pm line 263. Signed-off-by: Galen Charlton <gmc@esilibrary.com> git-svn-id: svn://svn.open-ils.org/ILS/trunk@17309 dcc99617-32d9-48b4-a31d-7c20da2025e4
merge seials-integration [sic] branch into trunk Dan Wells has provided tremendous efforts in developing a user interface and middle-layer logic for controlling serials. His work builds on the serial schema hashed out earlier in the year, also with his heavy involvement, and it provides ways to manage subscriptions, distribution, prediction, receiving and more. Although this code is but a beginning, much of it is functional today. This commit brings Dan's work into trunk. Dan has provided some release notes here: http://www.open-ils.org/dokuwiki/doku.php?id=acq:serials:release_notes:initial_trunk_merge git-svn-id: svn://svn.open-ils.org/ILS/trunk@17215 dcc99617-32d9-48b4-a31d-7c20da2025e4
In order to speed up the API call where we ask for the number of visible (or total, in the staff client), available and "unshadow" (aka total) copies, as well as record transcendance visiblity, we create here 10 stored procedures. Eight of them implement the record/metarecord, staff/opac, OU/lasso varients, and two more are wrappers simplifying the calling API. git-svn-id: svn://svn.open-ils.org/ILS/trunk@17143 dcc99617-32d9-48b4-a31d-7c20da2025e4
Stub script for adding authority control to an existing set of bibs The goal of this script is to iterate over every bib record listed at the command line (or --all) and check every controlled bib field for matching subfield combinations in authority records. This is going to be slow, friends, but for this iteration we're looking at paying a one-time cost; after that, controlled fields will automatically be maintained by triggers on the authority.record_entry tables. The bib field-to-auth field mapping needs to be fleshed out (should be comparable to the mapping in marcedit.js) and floating subdivisions still need to be controlled. Probably in a separate pass over the bibs, given the current "design". We extend open-ils.s*.authority.validate.tag to offer an id_list() variant so that we can get the corresponding authority record ID back from the call, instead of just a count. git-svn-id: svn://svn.open-ils.org/ILS/trunk@16918 dcc99617-32d9-48b4-a31d-7c20da2025e4