Commit Graph

887 Commits

Author SHA1 Message Date
hdl 2e262b4997 Bug FIX : subscription renewal would renew ANY subscription and not the only one selected. 2006-06-26 00:17:11 +00:00
tipaul 675f9d5b01 reverting cloneTag bugs (see joshua mail on koha-devel) :
* going back to a previous version, with server call to clone a Tag
* keeping BIG_LOOP in template (just 1 template for every tag)
I didn't check npl templates, but synch'ing them should not be too hard.

(ps : i've reverted default templates to 1.33.2.23)
2006-06-19 13:18:17 +00:00
kados b65276bc82 possible fix for a bug introduced in the latest series of commits:
the new firstsubfield setting was causing MARChtml2xml to completely
mangle the record (as in, no data ended up in the XML). More testing
will reveal whether this is actually a fix for that or not ...
2006-06-17 16:26:32 +00:00
hdl 34dcf18bec Adding bookseller notes management.
Merely a template change + and adding notes fields to Updatesupplier.
2006-06-15 09:54:46 +00:00
tipaul 9a2938868a just reindenting 2006-06-14 15:39:46 +00:00
tipaul 3804d54f43 changing a check (ge instead of >=), to avoid a warning 2006-06-14 15:38:58 +00:00
hdl a11e97246c Adding publication date to issues arrival. So that two dates can be used. 2006-06-13 12:34:15 +00:00
hdl c977cc6878 simplifying search results so that when multiple items depends on one location and holdingbranch, it is displayed on one line with item counts.
If item count is one AND item is on loan or notforloan, information is displayed.
2006-06-13 09:36:51 +00:00
tipaul 33080b6905 [IMPORTANT]
when cloning a tag, there was a problem to detect the tag change when rebuilding the XML/MARC record :
the test was done on an empty field.
with the new CloneTag sub, this empty field was quite tricky to create on the fly.
so i've added on each subfield a <input name="firstsubfield"> saying wether the subfield is the 1st or not.
Thus, when a tag is cloned, it is cloned properly.

HTML2marc and well as HTML2xml have been modified, but PLEASE DOUBLE CHECK my work
2006-06-12 10:33:53 +00:00
tipaul 760603f773 - fixing a small bug in html2marc, when the 1st subfield of a field was empty, the 2nd could not be filled as the MARC::Field had not been created. 2006-06-02 15:36:18 +00:00
tipaul fa94e5bd75 fixing stats.pl that was not working + updating templates 2006-05-12 09:35:42 +00:00
tipaul f6e217ef37 adding the starting period even when adding a subscription : it fixes bug 1059 :
Subscriptions must be entered in as Vol X No. 1 or issue calculation is incorrect

- doc updated on the wiki
- JOSHUA / KADOS / OWEN / KYLE: be carefull your templates have to be modified
2006-05-12 09:35:09 +00:00
kados a43dad2bbf MARC::File::XML switched the API in 0.83, this code updates Koha --
it will break your record editing if you don't upgrade MARC::File::XML
to 0.83 on CPAN.
2006-05-11 14:55:24 +00:00
rangi 8f319c4ab3 Adding version string 2006-05-11 14:15:51 +00:00
tipaul d0f38f7854 bugfix for #992 : in suggestion-select, a search is automatically done on the catalogue to find a duplicate.
If there is one, it is shown, and the librarian can "connect" the suggestion to a biblionumber to avoid creating a new biblio in the database
2006-05-09 16:05:01 +00:00
tipaul d0b7c47ddf fix for #975 : renewal of a subscription create a biblio 2006-05-09 15:09:16 +00:00
oleonard c79327298e Enabling two new system preferences:
1. opacuserlogin shows/hides login-based features like reserves, private shelves, and login forms.
2. opacbookbag shows/hides the book bag (biblio basket)
2006-04-27 17:02:20 +00:00
oleonard 720812f8ce Typo was preventing 'hidelostitems' system preference from being applied.
** HOWEVER! ** The 'hidelostitems' system preference (now that it's working) seems to be affecting both the OPAC and the intranet, even though the description of the preference suggests that it affects only the OPAC.
2006-04-22 14:57:46 +00:00
oleonard 01317340dd Adding opacheader system preference. Allows libraries to include a custom block of HTML at the head of OPAC templates. 2006-04-19 16:22:18 +00:00
tgarip1957 d7601f304b Missing semicolon 2006-04-17 13:50:59 +00:00
kados 896eb6c513 enable TemplateEncoding for Intranet templates 2006-04-14 17:01:12 +00:00
oleonard 62910e7918 Moving AmazonContent preference so that it can affect both OPAC and Intranet 2006-04-13 20:27:22 +00:00
kados 392d5380e4 bugfix for MARCsubjects fixes cases where no subjects exist but
getMARCsubjects() was still creating a blank one.
2006-04-13 18:14:34 +00:00
kados ebfe9d1503 minor tweak on enrolment period to set 'renewal' date. 2006-04-13 06:25:11 +00:00
kados d0a46c3da0 Partial fix for encoding problems in MARC editor. 2006-04-13 05:49:23 +00:00
kados 89148e82c1 Adding support for bulkauthimport of records where authid already exists.
This commit should be tested with other uses of AUTHaddauthority to ensure
it works.
2006-04-10 20:06:15 +00:00
kados 7e9689f74a adds a quick sanity check to make sure we're dealing with valid MARC
tags (a client of mine had tags from a Dynix system that were '???' and
this was causing bulkmarcimport.pl to fail horribly. This fixes that
problem).
2006-04-10 19:53:44 +00:00
kados 26f28ebc72 fixes a bug in MARCgetsubjects where marclist wasn't correct for
cases where more than one tag is used in subject authorites
2006-04-08 23:15:29 +00:00
hdl af7d541e91 Adding a new control depending on IndependantBranches for issues.
When librarian is not of th same HOLDINGBranch of the item, he cannot issue a book.

circulation.tmpl contains the error message.

If IndependantBranches set to 0, circulation behavior is unchanged.
2006-04-06 15:39:58 +00:00
hdl aaf8bbf84a Bugfixing declaring $branchname.
Changing Union for left join.
2006-04-05 15:43:27 +00:00
hdl 118674ec64 Adding branchname to userenv. 2006-04-05 15:06:58 +00:00
kados 6d81b0ff42 Adding TemplateEncoding syspref 2006-04-05 14:54:33 +00:00
tipaul 0f3dc0f0b3 ordering bsort1 & 2 by description 2006-04-05 09:30:30 +00:00
tipaul ae98e61004 just some tweakings (no changes).
nonfillingchar systempref won't work in UNIMARC (as there is no indicator to set it)
2006-04-04 13:32:08 +00:00
tipaul 7eeda65a58 add the last 5 arrived serials for a given subscription (to enable "rollback") 2006-04-04 13:15:50 +00:00
tipaul 2b295af0cd * removing Smart::Comment dependency (should not be required for 2.4, only for 3.0)
* fixing some SQL bug
2006-04-04 13:14:54 +00:00
kados 056dfd10db fixing a bug in the way that max is generated when finding the next
borrowernumber. Now, using mysql 4.1 we can convert to an integer
to get an accurate next value.
2006-04-03 23:43:20 +00:00
tipaul 57afa575bf oups, sorry kados, I had removed something you wrote for MARC21 authorities... 2006-04-03 12:52:50 +00:00
tipaul c5f0936d89 don't use + on a numeric value when you want to do a concat !!! 2006-03-30 14:20:03 +00:00
tipaul 380af7998a added a new feature in summary building (for an authority)
If you enter [XXX*] ([250*] for example), the whole field will be displayed as it's saved. This will solve the problem with reordered subfields.
2006-03-15 15:10:29 +00:00
tipaul 889ba2fba2 removing hardcoded link in summary of authority (on $heading) : it can be set in the template (in the # of biblios column) :
<a href="/cgi-bin/koha/opac-search.pl?type=opac&amp;op=do_search&amp;marclist=<!-- TMPL_VAR NAME="biblio_fields" -->&amp;operator==&amp;value=<!-- TMPL_VAR NAME="authid" -->&amp;and_or=and&amp;excluding="><!-- TMPL_VAR NAME="used" --></a>  <!-- TMPL_VAR NAME="used" -->

that's what I did for css templates, it work like a charm. It's better I think because when the library defines it's own summary, the hardcoded link didn't appear.
2006-03-15 10:46:31 +00:00
kados 213282764b Refining list of appropriate subfields to display for the authorized
heading.
2006-03-09 01:45:14 +00:00
kados f26d433451 re-adding paul's fix for improper XML characters. 2006-03-08 16:50:14 +00:00
kados 0a3aaeb2c3 removing blank subfield values 2006-03-08 16:39:01 +00:00
kados 90e93e3a4d bugfix for Biblio.pm based on feedback from production system. previous
version was dropping subfields in cases where the previous tag in the
editor contained values (but only when multiple subfields existed in
both tags). This version will be tested again in production environment
to ensure it is actually fixed.
2006-03-08 16:31:04 +00:00
tipaul ea2c7bc43c fixing some UNIMARC behaviour + removing some hardcoded strings 2006-03-08 15:17:09 +00:00
tipaul 9329a2c098 some opac systempreferences are set by all pages.
Moving the $template->param where the template is open. This way, nothing can be forgotten, and code is more readable. Feel free to move to Auth.pm any new systempref

(note : where it has been moved, the pref is set even if the user is not logged in, that's what we want)
2006-03-08 13:46:55 +00:00
tipaul 767830201d deal with &, <, >,", ' that are not valid in a XML file. 2006-03-08 10:49:36 +00:00
kados 70d716c201 Fixes buggy use of ISBD for summary in Authorities display. Previously,
it was not possible to properly display repeated tags/subfields in the
correct order. This code uses the MARC21 guidelines for display of the
main heading, see and see also listings.
2006-03-06 19:11:55 +00:00
kados af7c0b697d IMPORTANT: I had Associates tag and Dev Key confused ... now they
are named properly ... if you had it working before, now you must
swap them ... sorry :-)
2006-03-04 03:24:51 +00:00