Commit Graph

896 Commits

Author SHA1 Message Date
tipaul edddcd4306 add - to isbn only if there is an isbn ! 2006-07-25 12:33:04 +00:00
tipaul 39b6650e3e - fixing a minor problem in item counter
- quoting correctly some datas
2006-07-25 12:32:38 +00:00
tipaul b56922bf86 adding some informations to the array that is passed as result to an authority search : mainly, the tag_to_report & the $3 information (unimarc specific) 2006-07-25 12:30:51 +00:00
tipaul 440d2d16ca bugfixing for acquisitions :
In parcels management, the "primary key" is parcel code + datereceived. the datereceived was sometimes lost during navigation, causing problems. this fix solves the problem

+ in Acquisitions.pm, rewritting of a SQL query to LEFT JOIN instead of WHERE
2006-07-25 12:27:55 +00:00
sushi 983f11fea5 oops, forgot to commit to rel.2.2 2006-07-20 22:11:23 +00:00
kados 388df315d6 adding intranetstylesheet, etc. to checkauth so they are available to
all scripts.
2006-07-13 19:08:03 +00:00
kados ef8690cbf2 don't hide items that have notforloan < 0 2006-07-07 21:26:24 +00:00
kados 4c95f2c1dc several code cleanups. Adds support for hiding lost items in OPAC and
also hide notforloan items from the OPAC.
2006-07-07 21:10:13 +00:00
kados aad32c9389 fix to itemissues sub to show item statuses 2006-07-07 20:37:28 +00:00
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