Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on Jun 9, 2011
  1. Clay Fouts

    Add Koha.pm and include it universally

    ctfliblime authored
    At this point all we're doing is turning on warnings, strict,
    and 5.10 features by default in all files. This also defines
    a $Koha::VERSION variable which is going to be the basis for
    the code revision number, as opposed to $C4::Context::VERSION,
    which is the data config version number.
Commits on Mar 12, 2011
  1. Clay Fouts
Commits on Jul 14, 2010
  1. Clay Fouts
Commits on Jul 18, 2008
  1. Add no-replace option to stage_biblios_file.pl, allowing incoming bib…

    Ryan Higgins authored Joshua Ferraro committed
    …s to not overwrite existing bibs.
    
    Signed-off-by: Joshua Ferraro <jmf@liblime.com>
Commits on May 1, 2008
  1. staging import - enhance record overlay behavior

    Galen Charlton authored Joshua Ferraro committed
    Enhanced the ability of catalogers to specify how
    bib and item records should be added, replaced, or
    ignored during a staging import.
    
    When an import batch of bib records is staged and commit,
    the user can now explicitly specify what should occur
    when an incoming bib record has, or does not have, a match
    with a record already in the database.  The options are:
    
    if match found (overlay_action):
      create_new (just add the incoming record)
      replace (replace the matched record with the incoming one)
      use_template (option not implemented)
      ignore (do nothing with the incoming bib; however, the
              items attached to it may still be processed
               based on the item action)
    
    if no match is found (nomatch_action):
      create_new (just add the incoming record)
      ignore (do nothing with the incoming bib; in this
              case, any items attached to it will be
              ignored since there will be nothing to
              attach them to)
    
    The following options for handling items embedded in the
    bib record are now available:
    
      always_add (add the items to the new or replaced bib)
      add_only_if_match (add the items only if the incoming bib
                         matches an existing bib)
      add_only_if_add (add the items only if the incoming bib
                       does *not* match an existing bib)
      ignore (ignore the items entirely)
    
    With these changes, it is now possible to support the following use cases:
    
    [1] A library joining an existing Koha database wishes to add their
        items to existing bib records if they match, but does not want
        to overlay the bib records themselves.
    [2] A library wants to load a file of records, but only handle
        the new ones, not ones that are already in the database.
    [3] A library wants to load a file of records, but only
        handle the ones that match existing records (e.g., if
        the records are coming back from an authority control vendor).
    
    Documentation changes:
    
    * See description above; also, screenshots of the 'stage MARC records
    for import' and 'manage staged MARC records' should be updated.
    
    Test cases:
    
    * Added test cases to exercise staging and committing import batches.
    
    UI changes:
    
    * The pages for staging and managing import batches now have
      controls for setting the overlay action, action if no match,
      and item action separately.
    * in the manage import batch tool, user is notified when they
      change overlay action, no-match action, and item action
    * HTML for manage import batch tool now uses fieldsets
    
    Database changes (DB rev 076):
    
    * added import_batches.item_action
    * added import_batches.nomatch_action
    * added 'ignore' as a valid value for import_batches.overlay_action
    * added 'ignored' as a valid value for import_records.status
    * added 'status' as a valid value for import_items.status
    
    API changes:
    
    * new accessor routines for C4::ImportBatch
    
        GetImportBatchNoMatchAction
        SetImportBatchNoMatchAction
        GetImportBatchItemAction
        SetImportBatchItemAction
    
    * new internal functions for C4::ImportBatch to
      determine how a given bib and item are to be
      processed, based on overlay_action, nomatch_action,
      and item_action:
    
        _get_commit_action
        _get_revert_action
    
    Signed-off-by: Joshua Ferraro <jmf@liblime.com>
Commits on Feb 9, 2008
  1. bug 1372: count MARC records correctly

    Galen Charlton authored Joshua Ferraro committed
    Signed-off-by: Joshua Ferraro <jmf@liblime.com>
Commits on Feb 8, 2008
  1. Allow stage_biblios_file to take matcher id as parameter.

    Ryan Higgins authored Joshua Ferraro committed
    Signed-off-by: Chris Cormack <crc@liblime.com>
    Signed-off-by: Joshua Ferraro <jmf@liblime.com>
Commits on Jan 3, 2008
  1. speed boost: command-line stage and commit biblios

    Galen Charlton authored Joshua Ferraro committed
    Turned off autocommit and commit every 100 records.
    
    Signed-off-by: Chris Cormack <crc@liblime.com>
    Signed-off-by: Joshua Ferraro <jmf@liblime.com>
Commits on Dec 17, 2007
  1. installer: command-line scripts improve finding C4 modules

    Galen Charlton authored
    Command-line scripts now use a new SCRIPT_DIR/kohalib.pl
    to put installed location of Koha's Perl modules
    into @INC.
Commits on Nov 16, 2007
  1. bibliographic matching enhancements

    Galen Charlton authored Joshua Ferraro committed
    * serialization of matching rules to database
    * added two default matching rules for MARC21
    * update import staging CGI to choose matching rule
    
    Signed-off-by: Chris Cormack <crc@liblime.com>
    Signed-off-by: Joshua Ferraro <jmf@liblime.com>
Commits on Nov 7, 2007
  1. new batch job to stage a file of MARC biblios for import.

    Galen Charlton authored Joshua Ferraro committed
    As part of this, modified two routines in C4::ImportBatch
    to support a callback for monitor progress of import
    processing.
    
    Signed-off-by: Chris Cormack <crc@liblime.com>
    Signed-off-by: Joshua Ferraro <jmf@liblime.com>
Something went wrong with that request. Please try again.