]> git.evergreen-ils.org Git - Evergreen.git/log
Evergreen.git
12 years agoMerge remote branch 'working/collab/phasefx/unified_vol_copy_ui_from_item_status_ui'
Lebbeous Fogle-Weekley [Mon, 18 Jul 2011 19:48:39 +0000 (15:48 -0400)]
Merge remote branch 'working/collab/phasefx/unified_vol_copy_ui_from_item_status_ui'

Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com>
12 years agoRemove extraneous COMMIT message in 950 seed data
Dan Scott [Mon, 18 Jul 2011 15:43:13 +0000 (11:43 -0400)]
Remove extraneous COMMIT message in 950 seed data

The extra COMMIT message didn't hurt when creating a new schema, but did
result in a warning message that could cause confusion. So, get rid of
it to avoid that.

Signed-off-by: Dan Scott <dscott@laurentian.ca>
12 years agoItem Status->Alternate View support for the dynamic Record Summary
Jason Etheridge [Wed, 6 Jul 2011 18:52:53 +0000 (14:52 -0400)]
Item Status->Alternate View support for the dynamic Record Summary

For now, you could put something like this in server/skin/custom.js to re-configure the display:

try {

    netscape.security.PrivilegeManager.enablePrivilege("UniversalXPConnect");
    var prefs = Components.classes['@mozilla.org/preferences-service;1'].getService(Components.interfaces['nsIPrefBranch']);
    prefs.setCharPref(
        'oils.bib_brief.alternate_copy_summary.dynamic_grid_replacement.data',
        js2JSON([
            ['title',       'edition',  'editor'],
            ['author',      'pubdate',  'edit_date'],
            ['call_number', 'tcn',      'create_date']
        ])
    );

} catch(E) {
    dump('Error in custom.js trying to set oils.bib_brief.alternate_copy_summary.dynamic_grid_replacement.data: ' + E + '\n');
}

Signed-off-by: Jason Etheridge <jason@esilibrary.com>
Signed-off-by: Bill Erickson <berick@esilibrary.com>
12 years agodynamic Record Summary layout based on preference
Jason Etheridge [Wed, 6 Jul 2011 07:19:09 +0000 (03:19 -0400)]
dynamic Record Summary layout based on preference

For now, you could add something like this to server/skin/custom.js to re-configure the display:

try {

    netscape.security.PrivilegeManager.enablePrivilege("UniversalXPConnect");
    var prefs = Components.classes['@mozilla.org/preferences-service;1'].getService(Components.interfaces['nsIPrefBranch']);
    prefs.setCharPref(
        'oils.bib_brief.horizontal.dynamic_grid_replacement.data',
        js2JSON([
            ['title',           'edition',  'editor'],
            ['author',          'pubdate',  'edit_date'],
            ['bib_call_number', 'tcn',      'create_date']
        ])
    );

} catch(E) {
    dump('Error in custom.js trying to set oils.bib_brief.horizontal.dynamic_grid_replacement.data: ' + E + '\n');
}

Signed-off-by: Jason Etheridge <jason@esilibrary.com>
Signed-off-by: Bill Erickson <berick@esilibrary.com>
12 years agosome refactoring in prep for dynamic Record Summary layout
Jason Etheridge [Wed, 6 Jul 2011 06:32:01 +0000 (02:32 -0400)]
some refactoring in prep for dynamic Record Summary layout

Signed-off-by: Jason Etheridge <jason@esilibrary.com>
Signed-off-by: Bill Erickson <berick@esilibrary.com>
12 years agoin staff Record Summary (bib brief) pane, stretch the column for title, author, and...
Jason Etheridge [Fri, 1 Jul 2011 16:05:46 +0000 (12:05 -0400)]
in staff Record Summary (bib brief) pane, stretch the column for title, author, and bib call #

Signed-off-by: Jason Etheridge <jason@esilibrary.com>
Signed-off-by: Bill Erickson <berick@esilibrary.com>
12 years agoAddress minor code formatting consistency
Dan Scott [Mon, 18 Jul 2011 15:00:26 +0000 (11:00 -0400)]
Address minor code formatting consistency

The rest of the code has spaces around the conditional clause in an if()
statement, so do likewise here.

Signed-off-by: Dan Scott <dan@coffeecode.net>
12 years agoSpine label editor assumes LC as reported in LP #780665.
James Fournie [Mon, 6 Jun 2011 17:00:22 +0000 (10:00 -0700)]
Spine label editor assumes LC as reported in LP #780665.

This patch encapsulates the LC-assuming code in an IF block which
considers the asset.call_number.volume.label_class.  If that is equal to
3, it will use the LC formatting.

Signed-off-by: James Fournie <jfournie@sitka.bclibraries.ca>
Signed-off-by: Dan Scott <dan@coffeecode.net>
12 years agofix bill ui display update bug where total owed and total checked were not updated...
Jason Etheridge [Thu, 14 Jul 2011 20:03:42 +0000 (16:03 -0400)]
fix bill ui display update bug where total owed and total checked were not updated if the total owed as paid off in full

Signed-off-by: Jason Etheridge <jason@esilibrary.com>
Signed-off-by: Mike Rylander <mrylander@gmail.com>
12 years agoStamping upgrade script for "Bad join condition all_circulation view"
Mike Rylander [Sat, 16 Jul 2011 16:56:32 +0000 (12:56 -0400)]
Stamping upgrade script for "Bad join condition all_circulation view"

Signed-off-by: Mike Rylander <mrylander@gmail.com>
12 years agoBad join condition in secondary (physical) address lookup, causing terrible performan...
Mike Rylander [Sat, 16 Jul 2011 16:53:13 +0000 (12:53 -0400)]
Bad join condition in secondary (physical) address lookup, causing terrible performance of circ aging

Signed-off-by: Mike Rylander <mrylander@gmail.com>
12 years agoLP795032 Fix cursor rendering and dropdown position in holdings maintenance OU dropdown
mrpeters-isl [Wed, 13 Jul 2011 13:42:54 +0000 (09:42 -0400)]
LP795032 Fix cursor rendering and dropdown position in holdings maintenance OU dropdown
Signed-off-by: mrpeters-isl <mrpeters@library.in.gov>
Signed-off-by: Mike Rylander <mrylander@gmail.com>
12 years agoStamping upgrade script for "Opac Renewal at original circ library"
Mike Rylander [Sat, 16 Jul 2011 14:25:44 +0000 (10:25 -0400)]
Stamping upgrade script for "Opac Renewal at original circ library"

Signed-off-by: Mike Rylander <mrylander@gmail.com>
12 years agoDefault to existing behaviour for the new circ-behaviour global flag
Mike Rylander [Sat, 16 Jul 2011 14:22:51 +0000 (10:22 -0400)]
Default to existing behaviour for the new circ-behaviour global flag

Signed-off-by: Mike Rylander <mrylander@gmail.com>
12 years agoCache global flag at first use
Thomas Berezansky [Tue, 5 Jul 2011 20:33:41 +0000 (16:33 -0400)]
Cache global flag at first use

This way only the first opac renewal per backend has to ask the database for the global flag.

Signed-off-by: Thomas Berezansky <tsbere@mvlc.org>
Signed-off-by: Mike Rylander <mrylander@gmail.com>
12 years agoUnwrapped upgrade script
Thomas Berezansky [Tue, 5 Jul 2011 16:15:19 +0000 (12:15 -0400)]
Unwrapped upgrade script

Signed-off-by: Thomas Berezansky <tsbere@mvlc.org>
Signed-off-by: Mike Rylander <mrylander@gmail.com>
12 years agoOpac Renewal at original circ library
Thomas Berezansky [Sat, 2 Jul 2011 16:50:36 +0000 (12:50 -0400)]
Opac Renewal at original circ library

Fixes multiple potential issues:
1 - Bad home ou on patron breaks circ rules
    Ex. Patron edited while editor would let you pick bad home ou
2 - Item not allowed to circ at patron home ou
    Ex. Patron went to where they were allowed to pick it up
3 - Fines change to patron home ou fine rules
    Ex. Patron's home ou doesn't charge fines but circ lib does
    Ex. Circ lib doesn't charge fines but Patron's home ou does

Signed-off-by: Thomas Berezansky <tsbere@mvlc.org>
Signed-off-by: Mike Rylander <mrylander@gmail.com>
12 years agoStamping upgrade script for "Prevent OU loops at DB level"
Mike Rylander [Sat, 16 Jul 2011 14:08:03 +0000 (10:08 -0400)]
Stamping upgrade script for "Prevent OU loops at DB level"

Signed-off-by: Mike Rylander <mrylander@gmail.com>
12 years agoUnwrapped upgrade script for ou loop protect
Thomas Berezansky [Thu, 16 Jun 2011 02:03:47 +0000 (22:03 -0400)]
Unwrapped upgrade script for ou loop protect

May need to be split into "create function" and "add trigger" pieces.

Signed-off-by: Thomas Berezansky <tsbere@mvlc.org>
Signed-off-by: Mike Rylander <mrylander@gmail.com>
12 years agoPrevent OU loops at DB level
Thomas Berezansky [Thu, 16 Jun 2011 02:03:38 +0000 (22:03 -0400)]
Prevent OU loops at DB level

Database trigger to prevent actor.org_unit from being parent of self

Actually detects any loops, even those above the current point

Signed-off-by: Thomas Berezansky <tsbere@mvlc.org>
Signed-off-by: Mike Rylander <mrylander@gmail.com>
12 years agoMake spell-checking case insensitive
Dan Wells [Thu, 7 Jul 2011 21:18:16 +0000 (17:18 -0400)]
Make spell-checking case insensitive

As it stands, if you search for a proper noun using
lower case, but manage to trigger the "did you mean"
functionality, all the words are 'corrected' even if
just the case is wrong.  However, we are stripping
out the best correction precisely because it is the
same word, different case.  It is a bit confusing to
explain, but here is an example:

daniel potatoe

gets corrected to:

Daniela potato

This happens because the current spell check is case
sensitive, so 'daniel' is spelled wrong, but then we
remove 'Daniel' from the list of corrections
(presumably to avoid possibly suggesting terms which
would yield the same exact result set).

So, we either need to make the spell-check itself case
insensitive, or stop removing the re-cased corrections.
Since the catalog search itself is already
case-insensitive, I think it makes sense that the spell
check should follow suit.

Signed-off-by: Dan Wells <dbw2@calvin.edu>
Signed-off-by: Mike Rylander <mrylander@gmail.com>
12 years agoStamping upgrade script for "INDB Circ Matrix + Checkout Overrides Fix"
Mike Rylander [Sat, 16 Jul 2011 12:41:50 +0000 (08:41 -0400)]
Stamping upgrade script for "INDB Circ Matrix + Checkout Overrides Fix"

Signed-off-by: Mike Rylander <mrylander@gmail.com>
12 years agoUnwrapped upgrade script for checkout overrides
Thomas Berezansky [Tue, 7 Jun 2011 15:08:17 +0000 (11:08 -0400)]
Unwrapped upgrade script for checkout overrides

Replace the function.

Signed-off-by: Thomas Berezansky <tsbere@mvlc.org>
Signed-off-by: Mike Rylander <mrylander@gmail.com>
12 years agoINDB Circ Matrix + Checkout Overrides Fix
Thomas Berezansky [Mon, 6 Jun 2011 21:30:35 +0000 (17:30 -0400)]
INDB Circ Matrix + Checkout Overrides Fix

Move most failures to after matchpoint lookup.
This prevents "no duration rule" errors on overridable errors.

Signed-off-by: Thomas Berezansky <tsbere@mvlc.org>
Signed-off-by: Mike Rylander <mrylander@gmail.com>
12 years agoStamping upgrade script for "Fix part holds in reporter.hold_request_record"
Mike Rylander [Sat, 16 Jul 2011 00:08:35 +0000 (20:08 -0400)]
Stamping upgrade script for "Fix part holds in reporter.hold_request_record"

Signed-off-by: Mike Rylander <mrylander@gmail.com>
12 years agoUnwrapped upgrade script
Thomas Berezansky [Fri, 15 Jul 2011 19:55:18 +0000 (15:55 -0400)]
Unwrapped upgrade script

Signed-off-by: Thomas Berezansky <tsbere@mvlc.org>
Signed-off-by: Mike Rylander <mrylander@gmail.com>
12 years agoFix part holds in reporter.hold_request_record
Thomas Berezansky [Fri, 15 Jul 2011 19:54:35 +0000 (15:54 -0400)]
Fix part holds in reporter.hold_request_record

Specifically, make them show a bib id, instead of null.

Signed-off-by: Thomas Berezansky <tsbere@mvlc.org>
Signed-off-by: Mike Rylander <mrylander@gmail.com>
12 years agoVandelay item import copy location inheritance
Bill Erickson [Tue, 12 Jul 2011 21:39:37 +0000 (17:39 -0400)]
Vandelay item import copy location inheritance

When importing items that have a copy location configured and no such
location exists at the copy's owning/circ lib, Vandelay will now use
copy locations from ancestor org units as appropriate.

Signed-off-by: Bill Erickson <berick@esilibrary.com>
Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com>
12 years agoCorrected the logic of format string building for metarecord holds and...
Lebbeous Fogle-Weekley [Thu, 14 Jul 2011 20:41:42 +0000 (16:41 -0400)]
Corrected the logic of format string building for metarecord holds and...

made hold possiblity checking for metarecord holds respect the format
string (so you can't place holds on formats for which there will never
be anything targetable)

Made possible by much concerted effort from Mike Rylander

Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com>
12 years agoCorrect CDBI thinko -- search_where is smart about wantarray, search is not
Mike Rylander [Thu, 14 Jul 2011 15:42:26 +0000 (11:42 -0400)]
Correct CDBI thinko -- search_where is smart about wantarray, search is not

Signed-off-by: Mike Rylander <mrylander@gmail.com>
12 years agoRemove deprecated, conflicting version of vandelay.match_bib_record from base schema...
Bill Erickson [Tue, 12 Jul 2011 21:49:10 +0000 (17:49 -0400)]
Remove deprecated, conflicting version of vandelay.match_bib_record from base schema.  Thanks, Galen

Signed-off-by: Bill Erickson <berick@esilibrary.com>
12 years agopin an upgrade version for fix_maintain_901_quoting
Jason Etheridge [Tue, 12 Jul 2011 21:55:54 +0000 (17:55 -0400)]
pin an upgrade version for fix_maintain_901_quoting

Signed-off-by: Jason Etheridge <jason@esilibrary.com>
12 years agoupgrade script for bugfix for lp#809540
Galen Charlton [Tue, 12 Jul 2011 20:56:10 +0000 (16:56 -0400)]
upgrade script for bugfix for lp#809540

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Jason Etheridge <jason@esilibrary.com>
12 years agolp#809540: quote replacement values properly in maintain_901()
Galen Charlton [Tue, 12 Jul 2011 20:51:31 +0000 (16:51 -0400)]
lp#809540: quote replacement values properly in maintain_901()

Prevents a failure if, for example, the tcn_value of a bib to be
added or updated contains the string '\1'.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Jason Etheridge <jason@esilibrary.com>
12 years agoalert the user when the OPAC's Quick Search->Item Barcode function returns a pre...
Jason Etheridge [Tue, 12 Jul 2011 18:36:37 +0000 (14:36 -0400)]
alert the user when the OPAC's Quick Search->Item Barcode function returns a pre-cataloged item

Signed-off-by: Jason Etheridge <jason@esilibrary.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
12 years ago"Mark Local Result as Overlay Target" action in z39.50 client
Jason Etheridge [Tue, 12 Jul 2011 14:42:08 +0000 (10:42 -0400)]
"Mark Local Result as Overlay Target" action in z39.50 client

Signed-off-by: Jason Etheridge <jason@esilibrary.com>
Signed-off-by: Bill Erickson <berick@esilibrary.com>
12 years agoRemoving errant comma spotted by Thomas Berezansky
Mike Rylander [Tue, 12 Jul 2011 13:40:54 +0000 (09:40 -0400)]
Removing errant comma spotted by Thomas Berezansky

Signed-off-by: Mike Rylander <mrylander@gmail.com>
12 years agoappend line items to table in specified order
Galen Charlton [Mon, 11 Jul 2011 19:09:34 +0000 (15:09 -0400)]
append line items to table in specified order

Prior to this patch, the order that line items were displayed
in (e.g.) a purchase order view was effetively randomized based
on the amount of time it would take for async calls to fetch
additional line item details to return.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com>
12 years agoMerge branch 'authority-control-sets-squashed_for_master'
Lebbeous Fogle-Weekley [Mon, 11 Jul 2011 18:26:16 +0000 (14:26 -0400)]
Merge branch 'authority-control-sets-squashed_for_master'

Authority control sets! Largely by Mike Rylander, somewhat by me and
others.

This is the merge commit.  See individual commit messages for more
detail.

Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com>
12 years agoStamping Mike's upgrade script for authority control sets
Lebbeous Fogle-Weekley [Mon, 11 Jul 2011 18:23:30 +0000 (14:23 -0400)]
Stamping Mike's upgrade script for authority control sets

Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com>
12 years agoUnstamped upgrade script for Authority Control Sets
Mike Rylander [Mon, 11 Jul 2011 15:41:35 +0000 (11:41 -0400)]
Unstamped upgrade script for Authority Control Sets

... with additional fixes from Lebbeous Fogle-Weekley

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com>
12 years agoMerge/rebase cleanup -- remove useless/incorrect versions of the MARC flattener for...
Mike Rylander [Mon, 11 Jul 2011 13:52:26 +0000 (09:52 -0400)]
Merge/rebase cleanup -- remove useless/incorrect versions of the MARC flattener for different record types

Signed-off-by: Mike Rylander <mrylander@gmail.com>
12 years agoMerge/rebase cleanup -- authority template by id is needed
Mike Rylander [Mon, 11 Jul 2011 13:51:33 +0000 (09:51 -0400)]
Merge/rebase cleanup -- authority template by id is needed

Signed-off-by: Mike Rylander <mrylander@gmail.com>
12 years agoMake search by authority ID actually work on the first try
Lebbeous Fogle-Weekley [Tue, 5 Jul 2011 19:50:20 +0000 (15:50 -0400)]
Make search by authority ID actually work on the first try

and also show an odd number of authority record results so that
there can actually be a "middle."

Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com>
12 years agoProvide sorters for browse axes
Lebbeous Fogle-Weekley [Tue, 5 Jul 2011 18:22:38 +0000 (14:22 -0400)]
Provide sorters for browse axes

Make the default bib result sorter 'titlesort' for every
browse axis, which is what makes sense if you think about it.

Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com>
12 years agoCreate facet for going right to records linked to a given authority record
Lebbeous Fogle-Weekley [Thu, 30 Jun 2011 21:25:06 +0000 (17:25 -0400)]
Create facet for going right to records linked to a given authority record

Still need an upgrade script, of course, but so does this whole branch

Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com>
12 years agoattempted to add sanity to paging, but not really there yet
Lebbeous Fogle-Weekley [Thu, 30 Jun 2011 20:54:35 +0000 (16:54 -0400)]
attempted to add sanity to paging, but not really there yet

Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com>
12 years agoMake linking to bib records work better by saying any format will do.
Lebbeous Fogle-Weekley [Thu, 30 Jun 2011 19:59:07 +0000 (15:59 -0400)]
Make linking to bib records work better by saying any format will do.

Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com>
12 years agoworking! with paging and linking to bibs, except:
Lebbeous Fogle-Weekley [Wed, 29 Jun 2011 23:34:56 +0000 (19:34 -0400)]
working! with paging and linking to bibs, except:

... my new facet thingy doesn't seem to work.  here's what I did
sql-wise:

    INSERT INTO config.metabib_field (
        id, field_class, name, label, xpath,
        format, search_field, facet_field
    ) VALUES (
        28, 'identifier',
        'authority_id', 'Authority Record ID',
        '//marc:datafield/marc:subfield[@code=''0'']', 'marcxml', false, true
    );

    INSERT INTO config.metabib_field_index_norm_map (field, norm)
    VALUES (28, 5);

Yet after re-ingesting my bibs I have nothing new in
metabib.facet_entry.  So the "show related bibliographic holdings" links
don't quite work (I believe they /would/, though, if I had the facet
thingy right).

Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com>
12 years agoFinally starting to get somewhere: record display
Lebbeous Fogle-Weekley [Wed, 29 Jun 2011 19:45:40 +0000 (15:45 -0400)]
Finally starting to get somewhere: record display

Record display kind of works.  Need paging and links to bibs.

Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com>
12 years agoCloser to being able to get authority control set from thesaurus code
Lebbeous Fogle-Weekley [Tue, 28 Jun 2011 19:28:40 +0000 (15:28 -0400)]
Closer to being able to get authority control set from thesaurus code

Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com>
12 years agotowards using fielder in openils.AuthorityControlSet
Lebbeous Fogle-Weekley [Tue, 28 Jun 2011 15:49:17 +0000 (11:49 -0400)]
towards using fielder in openils.AuthorityControlSet

Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com>
12 years agoworking on an auth browser
Lebbeous Fogle-Weekley [Tue, 28 Jun 2011 14:43:54 +0000 (10:43 -0400)]
working on an auth browser

Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com>
12 years agoAdd function to set Control Set by Thesaurus Code
Mike Rylander [Mon, 27 Jun 2011 14:12:33 +0000 (10:12 -0400)]
Add function to set Control Set by Thesaurus Code

Signed-off-by: Mike Rylander <mrylander@gmail.com>
12 years agoNormalize fixed field names to OCLC values where they exist (what catalogers are...
Mike Rylander [Mon, 27 Jun 2011 14:03:34 +0000 (10:03 -0400)]
Normalize fixed field names to OCLC values where they exist (what catalogers are used to)

Signed-off-by: Mike Rylander <mrylander@gmail.com>
12 years agoconfig ui trivial improvements, scratching out a place for a browse UI
Lebbeous Fogle-Weekley [Thu, 23 Jun 2011 22:04:28 +0000 (18:04 -0400)]
config ui trivial improvements, scratching out a place for a browse UI

12 years agoFix minor glitch when trying to create new authority fields
Lebbeous Fogle-Weekley [Wed, 22 Jun 2011 21:22:54 +0000 (17:22 -0400)]
Fix minor glitch when trying to create new authority fields

The Autogrid can handle empty arrays as values for acsaf.bib_fields and
acsaf.axis_maps, but can't handle undefined.

Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com>
12 years agoMove the authority control set config interfaces back into conify
Lebbeous Fogle-Weekley [Wed, 22 Jun 2011 20:49:35 +0000 (16:49 -0400)]
Move the authority control set config interfaces back into conify

Really, that's where they make sense.  And they're done.

Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com>
12 years agoAxis-field map editor and editor for the axes themselves
Lebbeous Fogle-Weekley [Wed, 22 Jun 2011 20:25:59 +0000 (16:25 -0400)]
Axis-field map editor and editor for the axes themselves

The editor for the axes themselves is accessed directly from staff
client menu.  Everything else is reached indirectly from the control set
editor.

Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com>
12 years agoAdd bib field editor. Also make all the editors written so far...
Lebbeous Fogle-Weekley [Wed, 22 Jun 2011 18:04:14 +0000 (14:04 -0400)]
Add bib field editor.  Also make all the editors written so far...

... for authority control sets-related objects do the right thing to
help users create/edit new child objects linked to the right parent
table without extra effort.

Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com>
12 years agoAbility to return to specific authority.control_set or
Lebbeous Fogle-Weekley [Wed, 22 Jun 2011 14:50:06 +0000 (10:50 -0400)]
Ability to return to specific authority.control_set or

to specific authority.control_set_authority_field from a child table.
Other improvements heading toward finishing authority control set config UI

Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com>
12 years agoEditor for authority fields
Lebbeous Fogle-Weekley [Tue, 21 Jun 2011 18:22:26 +0000 (14:22 -0400)]
Editor for authority fields

Due to time constraints (and AutoGrid limitations) a click-through UI
with separate pages for separate objects used by the new authority
control sets feature is necessary for now rather than a comprehensive
interface with multiple grids on the same page.

Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com>
12 years agoThesauri editor
Lebbeous Fogle-Weekley [Tue, 21 Jun 2011 18:08:55 +0000 (14:08 -0400)]
Thesauri editor

12 years agomoving stuff where it goes
Lebbeous Fogle-Weekley [Tue, 21 Jun 2011 16:43:52 +0000 (12:43 -0400)]
moving stuff where it goes

12 years agoconify type interfaces in progress.
Lebbeous Fogle-Weekley [Tue, 21 Jun 2011 14:27:11 +0000 (10:27 -0400)]
conify type interfaces in progress.

not completely deleting old unfinished ones yet; there are probably
things to salvage

Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com>
12 years agoPut thesaurus-z handling back in
Mike Rylander [Wed, 15 Jun 2011 19:45:10 +0000 (15:45 -0400)]
Put thesaurus-z handling back in

Signed-off-by: Mike Rylander <mrylander@gmail.com>
12 years agoBeginnings of the config interfaces
Mike Rylander [Fri, 3 Jun 2011 14:29:52 +0000 (10:29 -0400)]
Beginnings of the config interfaces

Signed-off-by: Mike Rylander <mrylander@gmail.com>
12 years agoMove RULE down so that the named tables actually exist
Mike Rylander [Tue, 31 May 2011 03:49:18 +0000 (23:49 -0400)]
Move RULE down so that the named tables actually exist

Signed-off-by: Mike Rylander <mrylander@gmail.com>
12 years agoSwitch authority startwith index back to the pre-checking-deletedness version
Mike Rylander [Mon, 30 May 2011 00:30:27 +0000 (20:30 -0400)]
Switch authority startwith index back to the pre-checking-deletedness version

Signed-off-by: Mike Rylander <mrylander@gmail.com>
12 years agocorrecting template generation; filter out subfields that we do not use in the author...
Mike Rylander [Sat, 28 May 2011 16:23:24 +0000 (12:23 -0400)]
correcting template generation; filter out subfields that we do not use in the authority record

Signed-off-by: Mike Rylander <mrylander@gmail.com>
12 years agoMinor bug fixes (alignment of fm classes, etc); Do not check deletedness, just remove...
Mike Rylander [Sat, 28 May 2011 15:27:04 +0000 (11:27 -0400)]
Minor bug fixes (alignment of fm classes, etc); Do not check deletedness, just remove the afr data upon "delete" of an authority; We still need the non-tpo index on afr.value

Signed-off-by: Mike Rylander <mrylander@gmail.com>
12 years agoHeading normalization bug; Use CStoreEditor, not Editor; syntax-y bugs
Mike Rylander [Sat, 28 May 2011 01:12:18 +0000 (21:12 -0400)]
Heading normalization bug; Use CStoreEditor, not Editor; syntax-y bugs

Signed-off-by: Mike Rylander <mrylander@gmail.com>
12 years agoGeneral bug fixes and formatting cleanup
Mike Rylander [Fri, 27 May 2011 20:38:43 +0000 (16:38 -0400)]
General bug fixes and formatting cleanup

Signed-off-by: Mike Rylander <mrylander@gmail.com>
12 years agoRepaired syntax errors in SuperCat.pm
berick [Thu, 26 May 2011 19:34:07 +0000 (15:34 -0400)]
Repaired syntax errors in SuperCat.pm

Signed-off-by: berick <berick@esilibrary.com>
12 years agoRepaired syntax errors and thinkos
berick [Thu, 26 May 2011 19:13:48 +0000 (15:13 -0400)]
Repaired syntax errors and thinkos

 * Syntax in AuthorityControlSet.js
 * Protect against empty kwargs hash
 * marcedit.js fixes: Load dojo class before use; Load in my_init(), before which dojo is not defined

Signed-off-by: berick <berick@esilibrary.com>
12 years agoProtect against empty lists of linked bib searches
berick [Thu, 26 May 2011 18:44:48 +0000 (14:44 -0400)]
Protect against empty lists of linked bib searches

Instead of returning undef when passed an empty list of bibs, always
return an array from
open-ils.cat.authority.records.count_linked_bibs
Apart from consistency, this prevents JS errors in the Manage
Authorities UI.

Signed-off-by: berick <berick@esilibrary.com>
12 years agoSQL typo cleanup
Mike Rylander [Mon, 16 May 2011 18:00:04 +0000 (14:00 -0400)]
SQL typo cleanup

Signed-off-by: Mike Rylander <mrylander@gmail.com>
12 years agoUse the configured set of authority browse axes in the authority browse interfaces
Mike Rylander [Thu, 12 May 2011 15:10:42 +0000 (11:10 -0400)]
Use the configured set of authority browse axes in the authority browse interfaces

12 years agoUse the new singular methods that accept an axis as a param for browse and startwith
Mike Rylander [Thu, 12 May 2011 14:18:58 +0000 (10:18 -0400)]
Use the new singular methods that accept an axis as a param for browse and startwith

12 years agoAdd method for returning valid authority browse axes
Mike Rylander [Thu, 12 May 2011 14:18:15 +0000 (10:18 -0400)]
Add method for returning valid authority browse axes

12 years agoBrowse axis based browse and startswith methods; minor documentation corrections
Mike Rylander [Thu, 12 May 2011 00:28:39 +0000 (20:28 -0400)]
Browse axis based browse and startswith methods; minor documentation corrections

12 years agoUse ACS utility functions instead of hard-wired mapping
Mike Rylander [Wed, 11 May 2011 23:31:36 +0000 (19:31 -0400)]
Use ACS utility functions instead of hard-wired mapping

12 years agoFetch ACS stuff up front; enhance inter-object mapping per IDL; utility functions
Mike Rylander [Wed, 11 May 2011 23:31:15 +0000 (19:31 -0400)]
Fetch ACS stuff up front; enhance inter-object mapping per IDL; utility functions

12 years agoAdd axis_maps virtual field to control set authority field
Mike Rylander [Wed, 11 May 2011 23:30:05 +0000 (19:30 -0400)]
Add axis_maps virtual field to control set authority field

12 years agoAdding tables for browse axis mapping
Mike Rylander [Wed, 11 May 2011 21:06:45 +0000 (17:06 -0400)]
Adding tables for browse axis mapping

12 years agoUse MARC.FixedFields.setFixedField and validate by startwith search against simple_no...
Mike Rylander [Wed, 11 May 2011 17:24:17 +0000 (13:24 -0400)]
Use MARC.FixedFields.setFixedField and validate by startwith search against simple_normalized_heading

12 years agoFunction to find authority records matching a MARC field
Mike Rylander [Wed, 11 May 2011 16:54:16 +0000 (12:54 -0400)]
Function to find authority records matching a MARC field

12 years agoadjust parameters and documentation note
Mike Rylander [Wed, 11 May 2011 16:52:04 +0000 (12:52 -0400)]
adjust parameters and documentation note

12 years agouse the new transformed-value starwith operator
Mike Rylander [Wed, 11 May 2011 16:31:13 +0000 (12:31 -0400)]
use the new transformed-value starwith operator

12 years agoadd a special startwith op for use with transformed values (cannot do it another...
Mike Rylander [Wed, 11 May 2011 16:30:08 +0000 (12:30 -0400)]
add a special startwith op for use with transformed values (cannot do it another way currently)

12 years agoMethods for searching by marcxml, constrained (or not) by control set
Mike Rylander [Mon, 9 May 2011 23:36:12 +0000 (19:36 -0400)]
Methods for searching by marcxml, constrained (or not) by control set

12 years agoAdd an index using authority.simple_normalize_heading for search
Mike Rylander [Mon, 9 May 2011 22:48:53 +0000 (18:48 -0400)]
Add an index using authority.simple_normalize_heading for search

12 years agoVariant of authority.normalize_heading which ignores thesaurus for comparing slim...
Mike Rylander [Mon, 9 May 2011 22:19:19 +0000 (18:19 -0400)]
Variant of authority.normalize_heading which ignores thesaurus for comparing slim auth records generated from bibs

12 years agofunctions for converting bibs to authorities based on ACS
Mike Rylander [Mon, 9 May 2011 20:35:30 +0000 (16:35 -0400)]
functions for converting bibs to authorities based on ACS

12 years agoMove the AuthorityControlSet module into openils -- it loads data from the server
Mike Rylander [Mon, 9 May 2011 19:17:41 +0000 (15:17 -0400)]
Move the AuthorityControlSet module into openils -- it loads data from the server

12 years agoUtility methods
Mike Rylander [Mon, 9 May 2011 19:15:41 +0000 (15:15 -0400)]
Utility methods

12 years agoBug fixes; Add a method for setting fixed fields; Set the Type FF when rtype=AUT
Mike Rylander [Mon, 9 May 2011 19:13:41 +0000 (15:13 -0400)]
Bug fixes; Add a method for setting fixed fields; Set the Type FF when rtype=AUT

12 years agoMove the function to before its first use
Mike Rylander [Mon, 9 May 2011 19:12:04 +0000 (15:12 -0400)]
Move the function to before its first use

12 years agoOnly load control sets once, set the default to the first (for now... YAOUS later)
Mike Rylander [Mon, 9 May 2011 18:21:17 +0000 (14:21 -0400)]
Only load control sets once, set the default to the first (for now... YAOUS later)

12 years agoAdd some logic for fetching stored controlsets and switching amongst them
Mike Rylander [Fri, 6 May 2011 20:53:17 +0000 (16:53 -0400)]
Add some logic for fetching stored controlsets and switching amongst them