Commit graph

10420 commits

Author SHA1 Message Date
b1197477d4 comment out styles in gb_styles.css
These were added in the labels rework, but do not belong here, since
gb_styles.css should references only CSS classes responsible for
displaying the greybox itself, not the content inside it.  In particular,
the generic table styles were causing the icons added by tablesorter
to be tiled in the opac-detail template.

To finish this work, the styles should be taken out entirely and
moved to whichever lables template they were supposed to affect

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2009-09-06 12:42:16 -04:00
Nicole Engard
c000e0a28c Bug 2713 Make Marc & ISBD View match Normal template
Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2009-09-06 11:24:48 -04:00
c2c4f3e737 DB rev 053->054: add altcontactcountry and B_address2 to borrowers and deletedborrowers
Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2009-09-06 10:23:01 -04:00
Katrin Fischer
c36098e316 Bug 3464: Added altcontactcountry and B_address2 to borrowers and deletedborrowers
- added altcontactcountry and B_address2 to tables borrowers and deletedborrowers so that all addresses offer the same fields
- changed B_country and country to work with syspref BorrowerMandatoryField
- changed display of Alternate Address on borrower detail page, added labels, lines and edit button to match the other sections

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2009-09-06 10:01:51 -04:00
Sébastien Hinderer
2a8df0bc2f Get rid of a few warnings in the bulkmarcimport script: C4/Biblio.pm, hunks #1, #2: a warning occurring in NoZebra configurations. C4/Biblio.pm hunk #3: warning occurring in Unimarc MARC flavour. misc/migration_tools/bulkmarcimport.pl hunk #1: warning occurring when no default format is specified on command-line with -m switch.
Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2009-09-06 09:54:11 -04:00
ec6aaaebb0 bug 3581: fix staff permission for item circ alerts
Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2009-09-06 09:46:39 -04:00
73dd78ce1c Revamp interface of branch transfer limits to give finer conrol of bulk selections.
Adds selection by row and by column, all/none/toggle for individual ccode/itype sets, and a tabbed interface for a more compact display.

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2009-09-06 09:31:30 -04:00
ddfe9f8ac0 Tighten up layout of item circulation alerts interface, putting checkout and checkin table in tabs.
Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2009-09-06 09:31:27 -04:00
390a270b1e Modules for caching - C4::Cache is the base class, C4::Cache::Memcached and C4::Cache::FastMemcached are subclasses
Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2009-09-06 09:23:32 -04:00
b66904201a Starting on OO module for memoizing our functions
Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2009-09-06 09:23:08 -04:00
Michael Hafen
a5d298ad45 bugfix breeding results of cataloging search has wrong id
The breeding id, rather than coming from the database, was set by a counter.
Not so good links in the search results that way.

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2009-09-06 09:13:20 -04:00
Michael Hafen
ee83c4ae80 smart-rules load users library instead of default
If the user isn't a super librarian load their library by default instead of
the default settings.

This would eliminate some confusion amoung my librarians.

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2009-09-06 09:13:16 -04:00
Garry Collum
aa3e066b5f Bug 2505: Enabled warnings in admin-home.pl and roadtype.pl.
Fixed warnings generated by roadtype.pl and tightened up the code (referred to cities.pl).

No warnings were generated by admin-home.pl

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2009-09-06 09:13:14 -04:00
Michael Hafen
81b1c692df cataloging search results from catalog don't show on later pages
In the cataloging search results from the catalog, the result set would
decrease by one per page.  Past page 19 there was an empty table.  The reason
is that SimpleSearch gives the result set ( 20 records here ), and
searchResults expects to trim the result set to just the 20 records we want.
This changes the call to searchResults() to have a 0 offset to the result set.

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2009-09-06 09:13:13 -04:00
ac0ac59a5a More history updates
Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2009-09-06 09:01:37 -04:00
8b1ea22e59 Updating history
Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2009-09-06 09:01:33 -04:00
Colin Campbell
c4d833148d Return barcode as Sip hold_patron_id
Behave consistently with other patron_ids as many sip clients
use this in a subsequent patron information or patron status request

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2009-09-06 09:01:27 -04:00
3b0c92c442 Merge branch 'labels_recon' into to-push
Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2009-09-05 22:07:25 -04:00
9890a48800 Merge commit 'origin/master' into labels_recon 2009-09-05 21:45:39 -04:00
11c88cc77d tweak label batch template for new label batches
Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2009-09-05 21:43:13 -04:00
056152e142 debugify a warn
Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2009-09-05 21:43:13 -04:00
561fcb09e6 fixed references to template includes
Errors found by the xt/author/valid-templates.t test.

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2009-09-05 21:43:13 -04:00
7d09555dbd fixed translatibility error in label-edit-layout.tmpl
Error found by xt/author/translatable-templates.t test.

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2009-09-05 21:43:13 -04:00
dd08a539dc remove unnecesary import of HTM:::Template::pro
Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2009-09-05 21:43:12 -04:00
0bbcfeda0e replace syslog with warns
As discussed with Chris Nighswonger on #koha, this patch
removes the calls to syslog and replaces them with warns
so that error messages generated by the labels code
are sent to the Apache error log.  This avoids splitting
this sort of logging across multiple files and is consistent
with current practice in most of the rest of Koha.

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2009-09-05 21:43:12 -04:00
Chris Cormack
0af3d16b27 Nicer error message if a branch is not set
Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2009-09-05 19:56:22 -04:00
Chris Nighswonger
aa16f1229c Adding a missing module to labels search
This causes an error to be thrown if no items are retrieved and the
code goes to call &syslog

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2009-09-05 19:56:21 -04:00
Chris Nighswonger
3720e0261f Fixing warns (tnx to Chris Cormack for identifying these)
Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2009-09-05 19:56:20 -04:00
fce5a2f10e bug 2505: remove additional warning messages
Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2009-09-05 19:52:18 -04:00
Colin Campbell
038c485ba5 enable warnings in overduerules.pl Call GetBranchesLoop instead of duplicating code make countletters a count as it says check for definedness before doing string comparisons do as not to generate warnings 2009-09-05 19:15:51 -04:00
1b555e1fa8 UNIMARC XSLT enhancement
Improve UNIMARC XSL for result and detail page:

  * Add fields
  * Consolidation
  * Support RTL language display using $7 UNIMARC standard
    for Arabic and Hebrew
  * Fix bug #2773 via XSL at field level, removing NSB and
    NSE characters in biblio records, and avoiding to do
    it at application level in C4::Output.pm

Note for RM: There will be some tweaking coming next week.
If I see you don't push this patch, I will resubmit a
completed version later.

Sponsored by BULAC, www.bulac.fr
2009-09-05 19:07:42 -04:00
Garry Collum
d3a8f77011 Bug 2505: Enabled warnings in boraccount.pl and pay.pl.
Enabled warnings in members/boraccount.pl and members/pay.pl.  Fixed resulting warnings.
2009-09-04 15:17:39 -04:00
Chris Nighswonger
dcfaf1121f [40/40] Removing depricated files 2009-09-01 15:58:07 -04:00
Chris Nighswonger
e1a4e7c756 [39/40] Removeing depricated functions from label module. 2009-09-01 15:57:56 -04:00
Chris Nighswonger
6066b79817 [38/40] Misc bugfixs 2009-09-01 15:57:46 -04:00
Chris Nighswonger
8ebd1c9b19 [37/40] Updating sample labels data
This update takes care of the EN and FR data only. Sorry.
2009-09-01 15:54:28 -04:00
Chris Nighswonger
ded8c88e95 [36/40] Bugfix for profile update on profile/template association change. 2009-09-01 15:54:18 -04:00
Chris Nighswonger
9b56b1ead9 [35/40] Work on C4::Labels tests and various bugfixs resulting
This patch also moves the Labels tests into their own sub directory.

Due to a squash mistake this patch also includes the following:

Fixing up POD for C4::Labels modules

Also a minor bugfix and code refactoring.
2009-09-01 15:54:01 -04:00
Chris Nighswonger
ee37448387 [34/40] Work on syncing db schema on both new and upgrade installs
Labels creator data migration script
Updating updatedatabase.pl and bumping db version
2009-09-01 15:53:49 -04:00
Chris Nighswonger
dfca27d898 [33/40] Porting call number splitting improvements from HEAD 2009-09-01 15:53:40 -04:00
Chris Nighswonger
e751044912 [32/40] Work on patron card creator module
This is simply cut&paste from the older labels module code in an effort to preserve the existing patron card code for use
in the patron card creator module. This is NOT functioning code at the moment.
2009-09-01 15:53:32 -04:00
Chris Nighswonger
38817fb300 [31/40] Misc bugfixes and cosmetic cleanup. 2009-09-01 15:53:18 -04:00
Chris Nighswonger
71a4704f83 [30/40] Work on labels module home page. 2009-09-01 15:53:07 -04:00
Chris Nighswonger
b5fb22ea7b [29/40] Work on label module general tool bar. 2009-09-01 15:52:56 -04:00
Chris Nighswonger
99ed8b9d1d [28/40] Updating tools homepage to reflect label module rework. 2009-09-01 15:52:41 -04:00
Chris Nighswonger
02b759bbc5 [27/40] Fixing up the labels batches toolbar functionality. 2009-09-01 15:52:31 -04:00
Chris Nighswonger
02822ac805 [26/40] Refactoring auto label batch generation feature in bulk import tool and adding error trapping/handling. 2009-09-01 15:52:22 -04:00
Chris Nighswonger
bf9a25bb84 [25/40] More work on label export coded and interface. Adding icons for all export formats & general dressing up. 2009-09-01 15:52:09 -04:00
Chris Nighswonger
39d227d712 [24/40] Adding single/multiple label printing to label export code and interface.
This adds single/multiple label printing by item number along with new CSV and XML export code.
2009-09-01 15:51:58 -04:00
Chris Nighswonger
51db13b8da [23/40] Initial work on label export interface. 2009-09-01 15:51:47 -04:00