]> git.koha-community.org Git - koha.git/log
koha.git
16 years agoMicroformat support:
Joshua Ferraro [Thu, 3 Jan 2008 23:50:45 +0000 (17:50 -0600)]
Microformat support:

Needed to restore OpenSearch capabilities, and did the following while
I was at it:

  * add support for unAPI: http://unapi.info/
  * add basic support for COinS and OpenURL:
    http://ocoins.info;
    http://www.niso.org/committees/committee_ax.html
  * ^^ Gives us Zotero Support!
  * adding some XSLT stylesheets for handling additional transformations
    NOTE: English and MARC21 specific unfortunately
  * adding back opensearch/rss feed <link>s for autodiscovery

TODO: after the installation, to get the Zebra system running on an external
port it's necessary to hand-edit the configs. I'm looking into Virtual Hosts
which could solve that problem (run on both the socket and a port).

Need to add better error handling to the unapi and opensearch scripts

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agoFix for Bug 1726 (re-selecting another 'status' value should hide the 'add serials...
Owen Leonard [Thu, 3 Jan 2008 22:21:24 +0000 (16:21 -0600)]
Fix for Bug 1726 (re-selecting another 'status' value should hide the 'add serials' table again).

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agoLots of reformatting of reports forms. Improvements to breadcrumbs. XHTML-compliance...
Owen Leonard [Thu, 3 Jan 2008 22:21:23 +0000 (16:21 -0600)]
Lots of reformatting of reports forms. Improvements to breadcrumbs. XHTML-compliance corrections. Fix to itemslost.pl for Bug 1733 (just a typo).

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agoAdding patron's home branch to circ-menu sidebar display, minor markup change to...
Owen Leonard [Thu, 3 Jan 2008 22:21:22 +0000 (16:21 -0600)]
Adding patron's home branch to circ-menu sidebar display, minor markup change to /acui/histsearch.tmpl.

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agoMarkup corrections and formatting dialogs.
Owen Leonard [Thu, 3 Jan 2008 22:21:21 +0000 (16:21 -0600)]
Markup corrections and formatting dialogs.

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agoLabels overhaul - labels were largely broken (and still are somewhat), but this overh...
Joe Atzberger [Thu, 3 Jan 2008 20:46:20 +0000 (14:46 -0600)]
Labels overhaul - labels were largely broken (and still are somewhat), but this overhaul addresses Add, Delete, deduplication, messages to user, debug, etc.

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agoLabels.pm - add deduplicate_batch sub
Joe Atzberger [Thu, 3 Jan 2008 20:46:19 +0000 (14:46 -0600)]
Labels.pm - add deduplicate_batch sub

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agostart of test suite for C4::Items
Galen Charlton [Thu, 3 Jan 2008 18:36:45 +0000 (12:36 -0600)]
start of test suite for C4::Items

Only functions that do not touch the DB
are currently tested.

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agoitem rework: correct '' for various status fields
Galen Charlton [Thu, 3 Jan 2008 18:36:44 +0000 (12:36 -0600)]
item rework: correct '' for various status fields

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agobatch import: do not ersatz MARC item fields
Galen Charlton [Thu, 3 Jan 2008 18:36:43 +0000 (12:36 -0600)]
batch import: do not ersatz MARC item fields

Batch import was not removing item fields (e.g., 952
or 995) from MARC records.

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agospeed boost: tools stage and commit bib records
Galen Charlton [Thu, 3 Jan 2008 18:36:42 +0000 (12:36 -0600)]
speed boost: tools stage and commit bib records

Turned off autocommit; commit every 50 records.

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agospeed boost: command-line stage and commit biblios
Galen Charlton [Thu, 3 Jan 2008 18:36:41 +0000 (12:36 -0600)]
speed boost: command-line stage and commit biblios

Turned off autocommit and commit every 100 records.

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agoitem rework: replaced AddBiblioAndItems
Galen Charlton [Thu, 3 Jan 2008 18:36:40 +0000 (12:36 -0600)]
item rework: replaced AddBiblioAndItems

Replace C4::Biblio::AddBiblioAndItems with two
things:

* An option to C4::Biblio::AddBiblio to defer writing
  biblioitems.marc and biblioitems.marcxml.  This
  option was created to give a significant
  speed boost to bulkmarcimport.pl, but is *not*
  recommended for general use.
* C4::Items::AddItemBatchFromMarc

This refactoring removes the need to have functions
in C4::Biblio and C4::Items that call each other's
private functions.

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agoremoved more redundant 'my' causing variable masking warnings
Galen Charlton [Thu, 3 Jan 2008 18:36:39 +0000 (12:36 -0600)]
removed more redundant 'my' causing variable masking warnings

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agoremoved extra 'my' that was causing a masking warning
Galen Charlton [Thu, 3 Jan 2008 18:36:38 +0000 (12:36 -0600)]
removed extra 'my' that was causing a masking warning

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agoitem rework: various changes
Galen Charlton [Thu, 3 Jan 2008 18:36:37 +0000 (12:36 -0600)]
item rework: various changes

* Move CheckItemPreSave to C4::Items (from C4::Biblio)
* Modified C4::Biblio::AddBiblioAndItems to use appropriate
   internal routines from C4::Items
* Moved GetItemnumberFromBarcode to C4::Items
* Removed duplicate C4::Biblio::_koha_new_items
* Removed disused C4::Biblio::MARCitemchange

Currently AddBiblioAndItems is a special routine that
uses private subs from both C4::Biblio and C4::Items.
This needs to be refactored.

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agoremoved 'use' that was causing redefined sub warning
Galen Charlton [Thu, 3 Jan 2008 18:36:36 +0000 (12:36 -0600)]
removed 'use' that was causing redefined sub warning

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agoremoved duplicate call to C4::Context->marcfromkohafield
Galen Charlton [Thu, 3 Jan 2008 18:36:35 +0000 (12:36 -0600)]
removed duplicate call to C4::Context->marcfromkohafield

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agoitem rework: moved DelItem
Galen Charlton [Thu, 3 Jan 2008 18:36:34 +0000 (12:36 -0600)]
item rework: moved DelItem

Moved from C4::Biblio to C4::Items

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agoitem rework: moved various accessor functions
Galen Charlton [Thu, 3 Jan 2008 18:36:33 +0000 (12:36 -0600)]
item rework: moved various accessor functions

Moved following functions from C4::Biblio to
C4::Items:

    GetItemStatus
    GetItemLocation
    GetLostItems
    GetItemsForInventory
    GetItemsCount
    GetItemInfosOf
    GetItemsByBiblioitemnumber
    GetItemsInfo
    get_itemnumbers_of

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agostaff results detail print: use itemcallnumber
Galen Charlton [Thu, 3 Jan 2008 18:36:32 +0000 (12:36 -0600)]
staff results detail print: use itemcallnumber

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agolabels item search: build item list correctly
Galen Charlton [Thu, 3 Jan 2008 18:36:31 +0000 (12:36 -0600)]
labels item search: build item list correctly

Do not merge in a field mapped from the MARC biblio
if it already has been brought in from the item.

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agoOPAC detail print: use correct API to build item list
Galen Charlton [Thu, 3 Jan 2008 18:36:30 +0000 (12:36 -0600)]
OPAC detail print: use correct API to build item list

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agoOPAC detail print: get call number from items.itemcallnumber
Galen Charlton [Thu, 3 Jan 2008 18:36:29 +0000 (12:36 -0600)]
OPAC detail print: get call number from items.itemcallnumber

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agoremoved reports/inventory.pl
Galen Charlton [Thu, 3 Jan 2008 18:36:28 +0000 (12:36 -0600)]
removed reports/inventory.pl

This had been moved to tools/ when 3.0 HEAD
was created, but the vestiges of the older
version had not been removed completely.

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agoitem rework: replace direct SQL update of items
Galen Charlton [Thu, 3 Jan 2008 18:36:27 +0000 (12:36 -0600)]
item rework: replace direct SQL update of items

with ModItem calls

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agocheck for undefined values when mapping item to MARC
Galen Charlton [Thu, 3 Jan 2008 18:36:26 +0000 (12:36 -0600)]
check for undefined values when mapping item to MARC

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agoinventory: two fixes
Galen Charlton [Thu, 3 Jan 2008 18:36:25 +0000 (12:36 -0600)]
inventory: two fixes

* Replaced direct "update items" with ModItem call
* fixed problem in template that prevent barcode file upload
  from working

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agoitem rework: POD and comments improvement
Galen Charlton [Thu, 3 Jan 2008 18:36:24 +0000 (12:36 -0600)]
item rework: POD and comments improvement

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years ago_replace_item_field_in_biblio now handles missing item field
Galen Charlton [Thu, 3 Jan 2008 18:36:23 +0000 (12:36 -0600)]
_replace_item_field_in_biblio now handles missing item field

If an item field with the appropriate itemnumber does not
exist in the MARC bib, the incoming item field is now
just added instead of being ignored.

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agoremoved erroneous comment
Galen Charlton [Thu, 3 Jan 2008 18:36:22 +0000 (12:36 -0600)]
removed erroneous comment

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agoitem rework: moved GetItem
Galen Charlton [Thu, 3 Jan 2008 18:36:21 +0000 (12:36 -0600)]
item rework: moved GetItem

Moved from C4::Biblio to C4::Items.

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agoquell warning if updating itemnote whose original value is NULL
Galen Charlton [Thu, 3 Jan 2008 18:36:20 +0000 (12:36 -0600)]
quell warning if updating itemnote whose original value is NULL

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agoitem rework: moved GetMarcItem
Galen Charlton [Thu, 3 Jan 2008 18:36:19 +0000 (12:36 -0600)]
item rework: moved GetMarcItem

Moved this function from an exported function in
C4::Biblio to a public but unexported function
in C4::Items.  Added comment noting that this
is used only by additem.pl.

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agoitem rework: do not allow bulkedit to update items
Galen Charlton [Thu, 3 Jan 2008 18:36:18 +0000 (12:36 -0600)]
item rework: do not allow bulkedit to update items

This patch is meant to guarantee that a bulkedit
does not try to edit an item tag embedded in a MARC
biblio without updating the items feature.  It is
not a comprehensive fix of the bulkedit feature, which
currently does not appear to be functional and
needs some thought:

* The general search results is probably not the
  best place to put this feature -- it should
  probably be in tools.
* A bulk edit of something like items is desireable,
  but needs to be designed so that it respects
  business logic for circulation and acquisitions.

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agoitem rework: moved ModItemInMarc
Galen Charlton [Thu, 3 Jan 2008 18:36:17 +0000 (12:36 -0600)]
item rework: moved ModItemInMarc

* Moved exported ModItemInMarc from C4::Biblio to
  C4::Items and renamed to _replace_item_field_in_biblio.
  Function is now private and is not exported, as
  ModItem is now the sole entry point for updating
  an item record.
* Replaced calls to ModItemInMarc in C4::Circulation
  with appropriate ModItem calls.

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agoitems rework: fix several non-NULL columns during ModItem
Galen Charlton [Thu, 3 Jan 2008 18:36:16 +0000 (12:36 -0600)]
items rework: fix several non-NULL columns during ModItem

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agostart of BIB change -- introduce C4::Items
Galen Charlton [Thu, 3 Jan 2008 18:36:15 +0000 (12:36 -0600)]
start of BIB change -- introduce C4::Items

Introduced C4::Items module to separate items API
from biblio API.  Details on changes will be
put in later commit messages.

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agoDB rev 042: disallow null in aqbooksellers.name
Galen Charlton [Thu, 3 Jan 2008 18:36:14 +0000 (12:36 -0600)]
DB rev 042: disallow null in aqbooksellers.name

Patch per Ryan Higgins; part of fix for bug 1251.

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agoDB rev 041: disallow NULL in some item status columns
Galen Charlton [Thu, 3 Jan 2008 18:36:13 +0000 (12:36 -0600)]
DB rev 041: disallow NULL in some item status columns

notforloan, damaged, itemlost, wthdrawn

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agoFixing Database Definitions for Statuses *PARTIAL*
Joshua Ferraro [Thu, 3 Jan 2008 18:36:12 +0000 (12:36 -0600)]
Fixing Database Definitions for Statuses *PARTIAL*

Prior to this fix, the status fields had three 'off' values, NULL, "",
and 0. I've reduced it to two in the db, removing the option for NULL, and
setting the default value to 0, however, we need to verify that we don't ever
write out as "" as this needlessly complicates the indexing process,
critical for searching or limiting by status (e.g., availability). Also,
queries that attempt to write a NULL value to one of these fields will fail
(based on my tests).

This patch includes the following changes:

* Updated the database definition for notforloan, damaged, itemlost, and
wthdrawn in kohastructure.sql to forbid NULL and default to 0; MySQL
can't forbid other values (such as empty ""), so this has to be handled
at the application layer and REQUIRES further patching.

* Fixed the 'limit by availability' query node in Search.pm to use a
much less confusing definition of 'available'

* Added code to set values to 0 where they are NULL or empty ( "" ) for
notforloan, damaged, itemlost or wthdrawn in both the MARC and the items
table:

  * Biblio.pm -> AddBiblioAndItems
  * catalogue/updateitem.pl
  * SEE NOTE BELOW, REQUIRES UPDATE TO THE REST OF KOHA'S ITEM MGT!

* Removed code in bulkmarcimport.pl that sets notforloan status depending
  on item-level or bib-level itemtype -- that flag is designed to be set
  only to override the notforloan setting for the item's (or bib's,
  depending on the syspref) assigned itemtype (it doesn't need to override
  to 'for loan', only to 'not for loan').

  added $dbh->do("truncate zebraqueue"); when operation is 'delete'

* I updated some notes in catalogue/updateitem.pl as to why ModItem can't be
used -- we don't have _a_ place where we can change the item and marc :/

  I've tested the following:

  bulkmarcimport.pl..........................MARC/items OK
  Staged Records Import......................NOT OK
  updateitem.pl (via moredetail.pl)..........MARC/items OK
  circulation.pl.............................NOT OK
  returns.pl.................................NOT OK
  addbiblio.pl...............................NOT OK
  additem.pl.................................NOT OK

Basically, there isn't a single place to apply this patch that will
update both item data and MARC data in one place ... a future patch
needs to address this issue.

Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agoAllow Library select on new bookfund and term update.
Ryan Higgins [Thu, 3 Jan 2008 18:36:11 +0000 (12:36 -0600)]
Allow Library select on new bookfund and term update.

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agoSome tweaks for Debian Etch install procedure
Frederic Demians [Thu, 3 Jan 2008 18:36:10 +0000 (12:36 -0600)]
Some tweaks for Debian Etch install procedure

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agoFix Genre-form and Subject-topical for MARC21
Joshua Ferraro [Thu, 3 Jan 2008 14:23:01 +0000 (09:23 -0500)]
Fix Genre-form and Subject-topical for MARC21

Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agofixing a couple mappings for SRU CQL server
Joshua Ferraro [Thu, 3 Jan 2008 09:00:39 +0000 (04:00 -0500)]
fixing a couple mappings for SRU CQL server

Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agos/__DB_HOST__/__WEBSERVER_HOST__/
Joshua Ferraro [Thu, 3 Jan 2008 08:09:23 +0000 (03:09 -0500)]
s/__DB_HOST__/__WEBSERVER_HOST__/

Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agomore tweaks for tmpl vars.
Mason James [Thu, 3 Jan 2008 07:31:54 +0000 (01:31 -0600)]
more tweaks for tmpl vars.

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agotmpl var CATCODE_MULTI now passed
Mason James [Thu, 3 Jan 2008 07:31:53 +0000 (01:31 -0600)]
tmpl var CATCODE_MULTI now passed

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agonow closes and redirects pop-up to parent , yay
Mason James [Thu, 3 Jan 2008 07:31:52 +0000 (01:31 -0600)]
now closes and redirects pop-up to parent , yay

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agotweaks to update-child feature.
Mason James [Thu, 3 Jan 2008 07:31:51 +0000 (01:31 -0600)]
tweaks to update-child feature.

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agolittle fixes for update_child feature.
Mason James [Thu, 3 Jan 2008 07:31:50 +0000 (01:31 -0600)]
little fixes for update_child feature.

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agoImproving searchhighlightblob, similar to Paul's patch:
Joshua Ferraro [Thu, 3 Jan 2008 07:38:45 +0000 (02:38 -0500)]
Improving searchhighlightblob, similar to Paul's patch:

1. doesn't remove author_nospan, and <span>s around bib fields for
display, perhaps they should just get a separate style?

2. using subfields now

3. improved ability to highlight small words (3 chars and less)

Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agoMaking a start on online help for Acquisitions - Budget Based
Russel Garlick [Thu, 3 Jan 2008 02:09:02 +0000 (20:09 -0600)]
Making a start on online help for Acquisitions - Budget Based

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agoupgrade-child 'Choose Adult category' popup-window now has resize.
Mason James [Thu, 3 Jan 2008 01:42:07 +0000 (19:42 -0600)]
upgrade-child 'Choose Adult category' popup-window now has resize.

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agoAdding Online Help for Circ from Wiki (thanks tnb)
Russel Garlick [Thu, 3 Jan 2008 00:18:32 +0000 (18:18 -0600)]
Adding Online Help for Circ from Wiki (thanks tnb)

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agoEscaping the $title in the regexes with \Q and \E to handle nested quantifiers
Chris Cormack [Thu, 3 Jan 2008 00:14:39 +0000 (18:14 -0600)]
Escaping the $title in the regexes with \Q and \E to handle nested quantifiers

Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agoOnline help for admin, various tools and cataloguing
Russel Garlick [Wed, 2 Jan 2008 23:39:22 +0000 (17:39 -0600)]
Online help for admin, various tools and cataloguing

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agoRemoving "date due" column from holdings display, as date due is alread displayed...
Owen Leonard [Wed, 2 Jan 2008 22:16:10 +0000 (16:16 -0600)]
Removing "date due" column from holdings display, as date due is alread displayed in status column. Linking barcode link on detail.pl to named anchor on moredetail.pl (2.x feature).

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agoMarkup corrections and dialog formatting.
Owen Leonard [Wed, 2 Jan 2008 22:16:09 +0000 (16:16 -0600)]
Markup corrections and dialog formatting.

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agoFormatting error message as standard dialog
Owen Leonard [Wed, 2 Jan 2008 22:16:08 +0000 (16:16 -0600)]
Formatting error message as standard dialog

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agoA few minor markup corrections.
Owen Leonard [Wed, 2 Jan 2008 21:22:06 +0000 (15:22 -0600)]
A few minor markup corrections.

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agoSome refinements to statuses and messages. Beginning to standardize call number displays.
Owen Leonard [Wed, 2 Jan 2008 21:22:05 +0000 (15:22 -0600)]
Some refinements to statuses and messages. Beginning to standardize call number displays.

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agoChanging dialogue when an item needs transferring adding Yes and No buttons
Chris Cormack [Wed, 2 Jan 2008 20:17:24 +0000 (14:17 -0600)]
Changing dialogue when an item needs transferring adding Yes and No buttons

Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agolabel-manager - POSIX unused, commented out
Joe Atzberger [Wed, 2 Jan 2008 19:18:51 +0000 (13:18 -0600)]
label-manager - POSIX unused, commented out

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agosearch.tmpl - layout fixes, TODO: handle empty submit w/o crashing
Joe Atzberger [Wed, 2 Jan 2008 19:18:50 +0000 (13:18 -0600)]
search.tmpl - layout fixes, TODO: handle empty submit w/o crashing

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agolabel-manager.pl - purely whitespace edit, use git diff -U0 -w labels/label-manager...
Joe Atzberger [Wed, 2 Jan 2008 19:18:49 +0000 (13:18 -0600)]
label-manager.pl - purely whitespace edit, use git diff -U0 -w labels/label-manager.pl to verify

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agoinstall.pl - exit after redirect
Joe Atzberger [Wed, 2 Jan 2008 19:18:48 +0000 (13:18 -0600)]
install.pl - exit after redirect

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agoopac-detail.pl - cleanup incl. exit after redirect
Joe Atzberger [Wed, 2 Jan 2008 19:18:47 +0000 (13:18 -0600)]
opac-detail.pl - cleanup incl. exit after redirect

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agosmall fix to french translation
Paul POULAIN [Wed, 2 Jan 2008 19:12:29 +0000 (13:12 -0600)]
small fix to french translation

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agofrench translation updated
Paul POULAIN [Wed, 2 Jan 2008 19:12:28 +0000 (13:12 -0600)]
french translation updated

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agoremoving some spaces that are disliked by the translator
Paul POULAIN [Wed, 2 Jan 2008 19:12:27 +0000 (13:12 -0600)]
removing some spaces that are disliked by the translator

+ why is label-status.inc identified as a binary file on my station ?

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agoadding a searchhighlightblob style
Paul POULAIN [Wed, 2 Jan 2008 19:12:25 +0000 (13:12 -0600)]
adding a searchhighlightblob style

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agobugfix : reintroduce author_nospan to have a cliquable author link everytime
Paul POULAIN [Wed, 2 Jan 2008 19:12:24 +0000 (13:12 -0600)]
bugfix : reintroduce author_nospan to have a cliquable author link everytime

without this, the <a href="q=au:author"> result in some <span> in the link

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agorebuild_zebra : directories updated
Paul POULAIN [Wed, 2 Jan 2008 19:12:23 +0000 (13:12 -0600)]
rebuild_zebra : directories updated

the unimarc stuff has been moved to marc_defs directory and the
lang specific is in lang_defs

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agosynch'ing marc21 and unimarc where applicable
Paul POULAIN [Wed, 2 Jan 2008 19:12:22 +0000 (13:12 -0600)]
synch'ing marc21 and unimarc where applicable

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agoAdding OPACItemsResultsDisplay syspref (missing file from previous commit)
Paul POULAIN [Wed, 2 Jan 2008 19:12:21 +0000 (13:12 -0600)]
Adding OPACItemsResultsDisplay syspref (missing file from previous commit)

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agoNZSearch debugging
Henri-Damien LAURENT [Wed, 2 Jan 2008 19:01:58 +0000 (13:01 -0600)]
NZSearch debugging

Adding NZoperatorAND NZoperatorOR NZoperatorNOT
Using NZOperatorAND NOT in NZanalyse
Some problem solved.

Please test.

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agosmall fix to koha-conf.xml
Joshua Ferraro [Thu, 3 Jan 2008 06:39:42 +0000 (01:39 -0500)]
small fix to koha-conf.xml

Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agopadding Add_Delta_Days date, again.
Mason James [Wed, 2 Jan 2008 19:01:57 +0000 (13:01 -0600)]
padding Add_Delta_Days date, again.

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agoBUGFIX padding add_delta_days() date
Mason James [Wed, 2 Jan 2008 19:01:56 +0000 (13:01 -0600)]
BUGFIX padding add_delta_days() date

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agoWARNING: Updates to Index Defs for Authorities
Joshua Ferraro [Thu, 3 Jan 2008 06:27:32 +0000 (01:27 -0500)]
WARNING: Updates to Index Defs for Authorities

This commit is a partial fix to authority control for MARC21,
and better authority handling in general (for UNIMARC too).
Before this patch, authority searching, editing, saving, was
not functioning, or was extremely buggy.

WARNING: You will need to re-index your authority database after
applying this commit.

The following changes have been made:

  * Normalizing record.abs index names (in both MARC21 and UNIMARC)
  * Synching authorities/bib1.att, ccl.properties, AuthoritiesMarc.pm
    with new indexes (UNIMARC too)
  * Clean up biblios/bib1.att (remove duplicate att defs)
  * Clean up authorities-* templates to conform to new styles
  * Fixed search failure when using Default framework (now searches
    All)

Also included are several fixes to the built-in SRU server for
Authority and Biblio, it's recommended that you update your
koha-conf.xml file:

  * adding explain-authorities.xml and explain-biblios.xml
  * adding necessary info to koha-conf.xml to enable SRU/W
  * adding several example XSLT stylesheets, that can be used
    for SRU on-the-fly transformations (to MODS, DC, RDF, etc.)

Still remaining for 3.0 are the following tasks:

  * update MARC21 frameworks (authority and cross-reference bib)
  * update display code/templates in authority results list
  * update search code/templates to utilize index points
  * implement 'grouping' of authtypes for searching (Name, Title, Subject)
  * repair utility to import auths and perform matching
  * repair bibliographic import to match auths and warn if no match

Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agoTransformHtmlToXml() now checks from UNIMARC flavour, before inserting encoding info...
Mason James [Wed, 2 Jan 2008 07:25:04 +0000 (01:25 -0600)]
TransformHtmlToXml() now checks from UNIMARC flavour, before inserting encoding info to 100$a

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agoadding release notes for 3.0
Joshua Ferraro [Wed, 2 Jan 2008 02:39:15 +0000 (21:39 -0500)]
adding release notes for 3.0

Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agofix for bug 1723. no auth on finishreceive.pl
Ryan Higgins [Wed, 2 Jan 2008 01:45:30 +0000 (19:45 -0600)]
fix for bug 1723. no auth on finishreceive.pl

Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agonomenclature cleanup for acquisitions:
Joshua Ferraro [Wed, 2 Jan 2008 02:02:10 +0000 (21:02 -0500)]
nomenclature cleanup for acquisitions:

supplier -> vendor
freight -> shipping
parcel -> shipment
shopping basket -> basket
parcel code -> invoice number

Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agoFix to redirect the user ot the select branch page if they try to use
Chris Cormack [Wed, 2 Jan 2008 01:25:25 +0000 (19:25 -0600)]
Fix to redirect the user ot the select branch page if they try to use

circulation without a branch set

Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agoFix bug in ModReceiveOrder call
Ryan Higgins [Wed, 2 Jan 2008 00:39:48 +0000 (18:39 -0600)]
Fix bug in ModReceiveOrder call

had been losing datereceived and replacementprice on modorder.

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agoSpecify datereceived when receiving a new parcel.
Ryan Higgins [Wed, 2 Jan 2008 00:39:47 +0000 (18:39 -0600)]
Specify datereceived when receiving a new parcel.

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agoremoving extra collection display from moredetail.tmpl
Ryan Higgins [Wed, 2 Jan 2008 00:39:46 +0000 (18:39 -0600)]
removing extra collection display from moredetail.tmpl

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agoadding missing title info from MARC view / intranet
Ryan Higgins [Wed, 2 Jan 2008 00:39:45 +0000 (18:39 -0600)]
adding missing title info from MARC view / intranet

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agoFix for bug 1711
Chris Cormack [Tue, 1 Jan 2008 22:31:27 +0000 (16:31 -0600)]
Fix for bug 1711

Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agoBugfix for 1725 request.pl erroring with a biblio that has no items
Chris Cormack [Tue, 1 Jan 2008 21:56:22 +0000 (15:56 -0600)]
Bugfix for 1725 request.pl erroring with a biblio that has no items

Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agoFix for bug 1251 (blank supplier name)
Ryan Higgins [Tue, 1 Jan 2008 21:36:34 +0000 (15:36 -0600)]
Fix for bug 1251 (blank supplier name)

Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agoFurther updates to acq, merging in dev_week mods.
Ryan Higgins [Tue, 1 Jan 2008 20:53:15 +0000 (14:53 -0600)]
Further updates to acq, merging in dev_week mods.

Splitting orders now on receipt.
Many tmpl updates to pass correct values btwn scripts.

Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agoadd item-level location,collection fields to orderreceive
Ryan Higgins [Tue, 1 Jan 2008 20:52:52 +0000 (14:52 -0600)]
add item-level location,collection fields to orderreceive

Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agocleanup parcel.pl and tmpl
Ryan Higgins [Tue, 1 Jan 2008 20:52:30 +0000 (14:52 -0600)]
cleanup parcel.pl and tmpl

Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agoupdates to acqui - first of several commits
Ryan Higgins [Tue, 1 Jan 2008 20:52:05 +0000 (14:52 -0600)]
updates to acqui - first of several commits

bug fixes to display and save publishercode and purchase order numbers.
use invoice number in place of parcel code
fix template apparently allowing user to modify biblio details on add/mod order
removing CGI scrolling_list

Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agos/Waited/Expected/ for serials statuses reformating rebuild_nozebra.pl indexes
Joshua Ferraro [Tue, 1 Jan 2008 18:56:14 +0000 (13:56 -0500)]
s/Waited/Expected/ for serials statuses reformating rebuild_nozebra.pl indexes

Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agoNewsChannels - format_date for news "Posted on" date
Joe Atzberger [Mon, 31 Dec 2007 21:55:17 +0000 (15:55 -0600)]
NewsChannels - format_date for news "Posted on" date

Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agosystempreferences - remove dateformat from admin tab
Joe Atzberger [Mon, 31 Dec 2007 21:55:16 +0000 (15:55 -0600)]
systempreferences - remove dateformat from admin tab

Signed-off-by: Joshua Ferraro <jmf@liblime.com>