tipaul [Mon, 19 Jun 2006 13:18:17 +0000 (13:18 +0000)]
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)
kados [Sat, 17 Jun 2006 16:26:32 +0000 (16:26 +0000)]
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 ...
oleonard [Wed, 14 Jun 2006 21:12:27 +0000 (21:12 +0000)]
Lots of updates, corrections, and cleanup:
* synching some recent changes to default template
* correction to markup that was preventing cloneTag function from working
* changing several embedded color specifications to class specifications to allow alternate color stylesheets
* markup and javascript syntax cleanup
oleonard [Wed, 14 Jun 2006 21:08:20 +0000 (21:08 +0000)]
Changing some of the generated markup to use CSS class names instead of hard-coded color values. This moves color choices into the CSS files for each individual template.
hdl [Tue, 13 Jun 2006 09:36:51 +0000 (09:36 +0000)]
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.
tipaul [Mon, 12 Jun 2006 10:33:53 +0000 (10:33 +0000)]
[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
tipaul [Fri, 9 Jun 2006 14:29:05 +0000 (14:29 +0000)]
[IMPORTANT]
2 things in this commit
- npl templates worked well for cloneSubfield, default one didn't. I couldn't understand why, so I ported npl template to default & just updated the stylesheet
- npl templates were awfully indented, so I indented them a little bit
- I thought for months that the idea of 10 tabs passed separately was crazy. So I fixed it : now there is just 1 (ONE) tab described in templates, that is looped by BIG_LOOP. The BIG_LOOP is filled by the build_tabs.
Works the same way as previously, except there is just 1 tab described in templates !!!
Things still to do :
- making cloneTag work correctly
- handle authorities popup, that is broken
- handle authorities reporting, that is broken too.
tipaul [Fri, 2 Jun 2006 15:32:52 +0000 (15:32 +0000)]
- moving active color to grey instead of yellow
- ******** IMPORTANT *********
if TemplateEncoding system preference is set to iso8859-1, there are a lot of encoding problems : MARC::File::XML don't like it, as MARC::Record is supposed to work in MARC8 or UNICODE.
Thus, it seems that all accents are transformed in the process html => xml => marc.
Thus, i've reintroduced the html => marc behaviour if the TemplateEncoding is set to iso8859-1
(i've fixed the html2marc as joshua proposed previously, fixing a remaining bug)
This solution is a workaround : we will have to find a correct solution for Koha 3.0, to move every Koha to UNICODE and UNICODE only. But for instance, I tried some things but failed. Thust this solution, that works correctly for french libraries and should change nothing for unicode ones.
tipaul [Fri, 2 Jun 2006 15:26:57 +0000 (15:26 +0000)]
- removing a warning
- moving color change on Check to the field itself, not to error$i container. error$i container is now useless and removed.
- changing active color to grey, yellow being for mandatory fields.
Once I'm able, I'll include unicode support in this script, or if
someone else has time, feel free. I'd suggest using the new code
in MARC::File::XML for dealing with encoding in UNIMARC
oleonard [Thu, 18 May 2006 19:14:10 +0000 (19:14 +0000)]
Corrections to fix Bug 1058 (Intranet detail screen does not show lost or cancelled statuses). Chris's fix got lost statuses to appear. Adding similar fix to show cancelled status.
tipaul [Fri, 12 May 2006 09:35:09 +0000 (09:35 +0000)]
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
tipaul [Fri, 12 May 2006 08:36:05 +0000 (08:36 +0000)]
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
kados [Thu, 11 May 2006 14:55:24 +0000 (14:55 +0000)]
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.
tipaul [Tue, 9 May 2006 16:05:01 +0000 (16:05 +0000)]
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
Bug fixing. New 'hide-marc' system preference wasn't working here. Copying over structure from CSS template with only minor modifications. Also copying styles from CSS-template stylesheet. That will hopefully make coordinated upgrades a little easier.
1. opacuserlogin shows/hides login-based features like reserves, private shelves, and login forms. On by default.
2. opacbookbag shows/hides the book bag (biblio basket). On by default.
1. opacuserlogin shows/hides login-based features like reserves, private shelves, and login forms.
2. opacbookbag shows/hides the book bag (biblio basket)
System preference 'itemcallnumber' can now accept 2 subfields like 050ab to accommodate for LC callnumbering. Single subfield implementation not affected.
MARC8 to UTF-8 support added without XML problems. Rationalised the variable
name used for designating MARC flavour to avoid confusion with character set
encoding.
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.
Adding two new sysprefs :
- z3950NormalizeAuthor of type YesNo. Set this to yes if you want author field to be filled with authorities fields when importing biblio in z3950
- z3950AuthorAuthfields, free text : type in comma-separated list of fields to search for author names for AuthorNormalization.
Adding a feature on a Z3950 import.
You can now automatically fill author with person name authority contained in the biblio if sysprefs are filled.
Adding new system preference, IntranetBiblioDefaultView, and necessary changes to relevant scripts and templates. Just like the OPAC's BiblioDefaultView preference, this determines which screen the user will see when they click a listing in search results: normal, MARC, or ISBD.