Commit Graph

186 Commits

Author SHA1 Message Date
tgarip1957 6c0a70e019 System preference 'itemcallnumber' can now accept 2 subfields like 050ab to accommodate for LC callnumbering. Single subfield implementation not affected. 2006-04-26 16:53:37 +00:00
hdl 798a6d4127 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.
2006-04-21 08:54:55 +00:00
kados 28486295ad removing warns 2006-04-13 05:53:45 +00:00
kados 9ca273f2b4 partial fix for encoding probs in MARC editor 2006-04-13 05:50:25 +00:00
tipaul 9247a241ba rewritting auth_finder for addbiblio to get cloneTag working. incomplete, see mail on koha-devel 2006-04-07 11:45:58 +00:00
kados ff054b9e90 Fixes a bug that Paul noticed earlier today: UNIMARC tag/subfield labels
were getting mangled when displayed in the MARC editor for edits.
2006-04-06 02:15:35 +00:00
kados 495185c394 removing encode, cleaning up a bit. 2006-04-02 15:57:56 +00:00
kados ffa0c3a7c2 fixes a bug where if the record contained wide chars already it would
throw a 500 error.
2006-03-21 14:47:12 +00:00
kados 628c59c98d improved handling of visibility. 2006-03-21 04:38:14 +00:00
tipaul ebf980a10b * check that an item is not on loan before deleting it (proposal from Tümer)
* escape " to &
2006-03-20 15:16:08 +00:00
kados aa6f7b8940 keep subfields expanded if values exist 2006-03-18 13:20:21 +00:00
kados f46c789805 Heavy revisions to MARC Editor ... I'll send a mail to koha-devel asap. 2006-03-17 10:49:22 +00:00
kados 55d2df8cb4 remove incorrect DISABLE READONLY from input tag -- thanks paul! 2006-03-16 17:54:37 +00:00
kados dbd2f7cf91 fixing visibility flag: if ((<=-4)||(>=5)) { not in the editor unless exists
r is added}
2006-03-15 05:34:15 +00:00
kados b37461648c slight adjustment to visibility comparison 2006-03-15 05:08:07 +00:00
kados d59c19a6b1 refining addbiblio.pl to allow for greater complexity in visibility flag
(called 'Hidden'). See email to koha-devel.
2006-03-15 04:54:11 +00:00
kados 8023d38e9d adds further functionality to not load subfields marked '3' in the
Hidden in frameworks. Once this is confirmed stable I'll send an email
to koha-devel as it's quite an important feature.
2006-03-14 22:55:31 +00:00
kados 51b421b329 adds visibility status to MARC subfields. 2006-03-14 18:00:29 +00:00
kados 482ccb9d63 check for existance of $record before trying as_xml operation 2006-03-10 05:04:22 +00:00
kados f8e83c35c7 IMPORTANT:
MARC::Record objects coming in from the reservoir are probably going to
be encoded as MARC-8. This enures that they will be converted into UTF-8
before being displayed to the user (if they are in fact MARC-8). It's most
easily done by turning the record into a MARC::File::XML object and then
going back to MARC::Record -- easiest to do for me that is. Of course, a
better solution is to create a routine that changes the encoding of a
MARC::Record object (I was surprised to find such did not exist). I have
tested this method for MARC21, but I'm not familiar with the issues with
encoding in UNIMARC: are UNIMARC records ever encoded in charater sets
other than MARC-8 and UTF-8? (if so, I will need to adjust this code).
2006-03-10 02:35:07 +00:00
hdl e5a82b7434 BugFixing : the latest commit on new items made an error on the additem (inserted a diff line): corrected
When ppl donot input utf-8 data, display is strange.
2006-03-07 08:34:54 +00:00
kados aa48f53579 re-adding '' 2006-03-06 03:41:36 +00:00
kados 5724a30662 removing char_decode calls 2006-03-06 03:40:44 +00:00
kados e2787e32d0 VERY IMPORTANT NOTES!!! READ OR YOU MAY RUIN YOUR ENCODING
Previous commits replaced the use of the MARChtml2marc
routine with a MARChtml2xml that reads in the form data and
converts it to a MARC::File::XML object. It then passes that
to MARC::Record via the new_from_xml() method.

This works perfectly and fixes all of the bugs with the old
MARChtml2marc routine (see mail to koha-devel). However,
there is one gotcha. The MARC::File::XML new_from_xml() method
converts UTF-8 data into MARC-8 by default for historical reasons.
This means that entry of characters outside the normal ascii range
in UTF-8 will come out as gibberish in MARC-8. Never fear, there
is a solution.

This commit uses code written for MARC::File::XML version 0.82 to
add the ability to specify the encoding desired (I chose UTF-8
because I can't think of a reason to ever need MARC-8)

The bottom line is that to properly encode records YOU WILL HAVE
TO UPDATE MARC::File::XML to at least CPAN verion 0.82 !!!!!
2006-03-04 17:10:48 +00:00
kados c601446941 Add support for new MARChtml2xml routine. 2006-03-01 17:25:11 +00:00
kados 88e98c1aeb Change to use MARChtml2xml 2006-03-01 02:13:45 +00:00
kados ebd8348b04 removing unsed call to gettagslib 2006-02-25 03:56:45 +00:00
kados 0dcc307725 MAJOR BUGFIX: previously, when adding a tag, subfield order always started
with 'a' because that was hardcoded into the script. Now, order is governed
by the first defined subfield in the framework.
2006-02-25 02:05:59 +00:00
kados f636f90f04 Adds script support for IntranetNav ... see mail to koha-devel for
details
2006-02-05 21:59:20 +00:00
kados 59f64e3077 Adds support for intranetstylesheet system pref in Koha scripts 2006-02-05 21:45:25 +00:00
kados 7dfb2cc2db Adds support for intranetcolorstylesheet 2006-02-04 21:26:47 +00:00
hdl 7d3b8b566f Bug fixing : result page display was not correct. Id onlys incremented one result line and not the whole page 2006-01-31 10:59:41 +00:00
tipaul 1c70e956f5 * when adding a biblio, after searching in DB and reservoir, the page manager in the result list was buggy (isbnsearch.pl) 2006-01-05 15:11:41 +00:00
tipaul 3408704d37 some tweakings for MARC editor (better look for 1024x768 screens) 2005-12-14 15:01:36 +00:00
tipaul cf7fd53974 * adding a feature to enable reordering of subfields in MARC editor (can be considered as a bug ? at least one of my libraries think that yes !)
* as the MARC editor begins to be really heavy, i've also added a marc_hide systempref. It hides all marc features not requested by libraries that want MARC but not too much. It hides MARC tag & subfield code, reordering buttons as well as indicators. by default, hide_marc is off
2005-10-25 12:36:21 +00:00
tipaul fa43d07060 fixing a bug : when Autobarcode=ON and MARC=ON, the barcode was not calculated automatically. 2005-10-25 12:17:02 +00:00
tipaul 9e51b96217 fixing bug caused by sort{} added by hdl 2 days ago : when items were reordered, itemnum were not. Thus, sometimes, items were not pointing to the right itemnumber & modif/deletion was buggy ! 2005-10-05 12:41:41 +00:00
hdl 86b0bf2fbc Ordening items on holding branch
Modification in order to include Nonmarc structure
2005-10-04 10:13:16 +00:00
hdl 280e629836 ordening items by branch 2005-09-28 14:43:12 +00:00
hdl 09199d3bce Undoing Logs 2005-09-09 08:19:57 +00:00
hdl 35e6303729 Commiting all that allows Branch Independancy management :
* in acquisition module, an order can be modified/recieved/closed only by a librarian from the same branch than the librarian that created the basket.
* in catalogue module, an item can be modified/deleted/created only by a librarian from the same branch as item owner branch
* in members module, a member can be created/modified only by a librarian from the branch of the member.
Modifying Context.pm :
Adding userenv context variable.
Is set during checkauth or get_template_and_user
Modifying Auth.pm function checkauth : setting userenv context variable
Modifying Acquisition.pm:
    * histsearch
    * branches
    * bookfunds
    * getsupplierlistwithlateorders
    * getlateorders
    * getallorders
    * getorders
Add a branch criterium if IndependantBranches is set.
Modifiying Suggestion.pm:
    * searchsuggestions Will look first for th Librarian Branch and restrict search to suggestion made by users from this branch
    * countsuggestions Will look first for th Librarian Branch and restrict search to suggestion made by users from this branch
File Modifiying :
    * admin/aqbudget.pl adding a branch selection for budget.
    * parameters/aqbudget.tmpl
    * admin/aqbookfund.pl adding a branch selection for bookfund
    * parameters/aqookfund.tmpl
And adding branch selection to members and items changes.
WARNING: bibid are still used in additem, unlike in HEAD... Shall be soon fixed.
2005-08-26 12:21:49 +00:00
hdl 25ec2b0bf4 Adding Log Facility for Biblio management.
Note that a javascript will soon be written for action type management and that viewlog.pl is fully functionnal (tested) only for Catalogue.
2005-08-24 10:44:53 +00:00
tipaul dd88d01cc9 fix for duplicate scrolling lists (from Ernesto) 2005-08-08 09:18:57 +00:00
tipaul bdae4668e7 some changes in field size handling :
* changing length to 80, as it fits on a 1024 screen
* going to a textarea when the field is more than 100 chars and not 200 as previously
2005-08-01 15:11:59 +00:00
tipaul 9f449a44db * removing a useless & CPU consuming call to MARCgetbiblio
* Leader management.
If you create a MARC tag "000", with a subfield '@', it will be managed as the leader.
Seems to work correctly.

Now going to create a plugin for leader()
2005-07-28 19:56:15 +00:00
hdl c87155b86a Fixing :
- Enabling Selection of Default Framework, event though it wasnot the framework of the biblio.
Adding
- Saving Framework Changes when editing a biblio.
Display improvements
2005-05-25 09:34:40 +00:00
hdl 5beaf5648f Coping With Frameworks al allong MARC Editing.
BUG to be Fixed: Framework to save when editing a biblio.
2005-05-24 20:29:39 +00:00
tipaul 974b189e70 bugfix in authority reporting & field duplicating 2005-05-19 22:17:33 +00:00
tipaul 9cc1b2872a adding title & author in additem (owen suggestion) 2005-05-06 08:26:28 +00:00
tipaul 67190e832a needs "editcatalogue" flag, not "catalogue" 2005-03-25 12:52:42 +00:00