Commit graph

122 commits

Author SHA1 Message Date
tipaul
691aec77b0 (bugfix for previous commit, that was wrong)
when repeating a repeatable field, the new field is now :
* created AFTER the existing field(s)

This is more logic when adding subjects, from most to less important (or author, or anything else).
2004-10-04 20:02:36 +00:00
tipaul
d4b74a5013 when repeating a repeatable field, the new field is now :
* empty
* created AFTER the existing field(s)

This is more logic when adding subjects, from most to less important (or author, or anything else).
2004-09-30 15:52:28 +00:00
tipaul
121ba6b2ba a subfield checked to a plugin can manually be modified 2004-09-23 16:12:06 +00:00
tipaul
b77d7eddaa bugfix : repeatable field management for new biblio 2004-09-13 15:18:58 +00:00
tipaul
cac4a46055 fixing minor bug for hidden fields in editor 2004-09-02 16:21:29 +00:00
tipaul
19ae27fc49 minor modifs for hidden subfields 2004-08-18 16:04:53 +00:00
tipaul
bedba1eb5e bugfix : adding existing value for fields mapped to authority & modif of a biblio. 2004-08-17 11:05:17 +00:00
tipaul
37d454a82a adding frameworkcode to API in some subs 2004-08-13 16:37:25 +00:00
tipaul
f3547ff1c8 last sync for 2.1.0 release 2004-06-29 16:07:09 +00:00
rangi
ef3a55706c Removing subjects and additionalauthors (they dont belong at the biblioitem level) 2004-06-26 23:47:17 +00:00
rangi
c415293609 Subjects and additional authors now added at this point 2004-06-26 23:45:46 +00:00
tipaul
ff113395ff MARC authority management (continued) 2004-06-10 09:33:56 +00:00
tipaul
5f4179a6c3 * frameworks and itemtypes are independant
* in the MARC editor, showing the + to duplicate a tag only if the tag is repeatable
2004-06-03 09:59:36 +00:00
tipaul
8e8230f792 warning commented 2004-05-28 08:22:10 +00:00
rangi
f13647b3ce Fix for bug 787 2004-05-27 21:30:34 +00:00
tipaul
88e67b8d3e framework management : 1 MARC framework for each itemtype 2004-05-18 15:22:10 +00:00
tipaul
95e59db5ae DIV changed to div 2004-04-14 19:43:58 +00:00
tipaul
e03a18467c removing maxlength=80 in MARC editor : Koha can handle fields >> 255, so the marxlength is stupid. 2004-03-17 16:55:40 +00:00
tipaul
3635a596cf synch'ing 2.0.0 branch and head 2004-02-11 08:35:31 +00:00
tipaul
15088957e4 synch'ing with rel_2_0 2004-01-12 16:55:48 +00:00
tipaul
f8bde9b034 sync'ing with rel_2_0 (mostly prepare/execute pb, bug #662) 2003-12-22 19:16:58 +00:00
tipaul
94deaaec47 biblio & item deletion now works fine in MARC editor.
Stores deleted biblio/item in the marc field of the deletedbiblio/deleteditem table.
2003-11-24 17:12:41 +00:00
tipaul
073d2233cc bugfix for #384
1st draft for MARC biblio deletion.
Still does not work well, but at least, Biblio.pm compiles & it should'nt break too many things
(Note the trash in the MARCdetail, but don't use it, please :-) )
2003-11-06 17:18:30 +00:00
tipaul
21a38798e6 removing warning 2003-09-04 13:08:17 +00:00
tipaul
0ee4bfe070 fix for 565 : item barcode not checked unique 2003-09-04 13:04:12 +00:00
tipaul
bc124d87f4 fixing bug in char decoding 2003-08-06 12:37:32 +00:00
tipaul
010f15b12b small fix for biblio modif : when modifying a biblio, fields that were left 100% empty during add were no more in the editor. Thus, it was impossible to add them forever. This 1 line fix restore correct behaviour. 2003-06-26 14:11:09 +00:00
tipaul
2537461334 repetable field support.
The 3 problem from yesterday are fixed :
* cc the + to each tab (for instance, only in tab 0)
* doing the french template
* fixing an annoying bug : everything is stored in the same field :
200$a$b$c$a$b$c and not
200$a$b$c
200$a$b$c
as expected.

100% FUNCTIONNAL (at least I expect !)

IMPORTANT NOTE :
ALL subfields from a field MUST be in the same tab. Otherwise, Koha can't magically find how to group subfields in case of repeted fields.
I'll add a check in checkmarc immediatly.
That's not a "bug" in Koha. That's mandatory because of MARC structure.
2003-06-20 14:32:08 +00:00
tipaul
28b099f89e partial work for repetable fields.
Near each field is a +
If you click on it, it's duplicated.
TODO :
* cc the + to each tab (for instance, only in tab 0)
* doing the french template
* fixing an annoying bug : everything is stored in the same field :
200$a$b$c$a$b$c and not
200$a$b$c
200$a$b$c
 as expected.
2003-06-19 16:38:49 +00:00
tipaul
bb7fecd745 improvments/fixes for z3950 support.
* Works now even on ADD, not only on MODIFY
* able to search on ISBN, author, title
2003-06-17 11:21:12 +00:00
tipaul
7b1a99acc6 unused script 2003-06-05 14:13:58 +00:00
tipaul
03f9467912 moving breeding farm import to parameters page (GUI) and to new import/ directory (code structure) 2003-06-04 13:46:24 +00:00
tipaul
8f989ba073 *** empty log message *** 2003-05-21 14:34:44 +00:00
rangi
becb6ce25c Mostly templated.
Still needs some work
2003-05-11 06:59:11 +00:00
rangi
45b2420797 This script is now templated
3 more to go i think
2003-05-09 23:47:22 +00:00
rangi
9f73cb0732 Continuing work on the nonmarc simple acq 2003-05-04 04:00:00 +00:00
rangi
4da8f3c721 We have a simple acquisitions system without marc mostly going now.
You can add a new biblio/biblioitem/item  now.

Currently you can only do this by using the   Add biblio without ISBN/ISSN
link. The next task is to get the isbnsearch and title search linking to the
nonmarc scripts if marc support is off, and then to template them all.
2003-05-04 03:16:15 +00:00
tipaul
26543b430e really proud of this commit :-)
z3950 search and import seems to works fine.
Let me explain how :
* a "search z3950" button is added in the addbiblio template.
* when clicked, a popup appears and z3950/search.pl is called
* z3950/search.pl calls addz3950search in the DB
* the z3950 daemon retrieve the records and stores them in z3950results AND in marc_breeding table.
* as long as there as searches pending, the popup auto refresh every 2 seconds, and says how many searches are pending.
* when the user clicks on a z3950 result => the parent popup is called with the requested biblio, and auto-filled

Note :
* character encoding support : (It's a nightmare...) In the z3950servers table, a "encoding" column has been added. You can put "UNIMARC" or "USMARC" in this column. Depending on this, the char_decode in C4::Biblio.pm replaces marc-char-encode by an iso 8859-1 encoding. Note that in the breeding import this value has been added too, for a better support.
* the marc_breeding and z3950* tables have been modified : they have an encoding column and the random z3950 number is stored too for convenience => it's the key I use to list only requested biblios in the popup.
2003-04-29 16:48:25 +00:00
tipaul
e5bbeace3d Those fixes solves the "internal server error" with MARC::Record 1.12.
It was due to an illegal contruction in Koha : we tried to retrive subfields from <10 tags.
That's not possible. MARC::Record accepted this in 0.93 version, but it was fixed after.
Now, the construct/retrieving is OK !
2003-04-28 13:07:14 +00:00
tipaul
a118eeacfc 1st draft for z3950 client import.
moving Breeding farm script to a perl package C4/Breeding.pm
2003-04-22 12:22:52 +00:00
tipaul
88867f1426 Fix some bugs :
* worked in 1.9.0, but not in 1.9.1 :
- modif of a biblio didn't work
- empty fields where not shown when modifying a biblio. empty fields managed by the library (ie in tab 0->9 in MARC parameter table) MUST be entered, even if not presented.

* did not work before :
- repeatable subfields now works correctly. Enter 2 subfields separated by | and they will be splitted during saving.
- dropped the last subfield of the MARC form :-(

Internal changes :
- MARCmodbiblio now works by deleting and recreating the biblio. It's not perf optimized, but MARC is a "do_something_impossible_to_trace" standard, so, it's the best solution. not a problem for me, as biblio are rarely modified.
Note the MARCdelbiblio has been rewritted to enable deletion of a biblio WITHOUT deleting items.
2003-04-10 13:56:02 +00:00
tipaul
e60f831e1f last commits before 1.9.1 2003-04-04 08:40:44 +00:00
tipaul
452e65166c fixes 2003-04-01 12:26:43 +00:00
tipaul
13922e8276 fixing bug when a search gets more than 10 biblios : now, user can reach biblio 10, 20, 30... 2003-03-19 21:01:01 +00:00
tipaul
05e5034932 bugfixes + adding buttons to switch between normal and MARC view of a record 2003-03-07 16:34:04 +00:00
wolfpac444
4d88a09509 Removed the unecessary $dbh argument from being passed.
Resolved a few minor FIXMEs.
2003-02-19 01:01:06 +00:00
tipaul
fa0f51d9c2 Support for 000 -> 010 fields.
Those fields doesn't have subfields.
In koha, we will use a specific "trick" : fields <10 will have a "virtual" subfield : "@".
Note it's only virtual : when rebuilding the MARC::Record, the koha API handle correctly "@" subfields => the resulting MARC record has a 00x field without subfield.
2003-02-12 11:01:04 +00:00
acli
b5ecefd485 Minor factoring in C4/Biblio.pm, plus change to export the per-tag
'mandatory' property to a per-subfield 'tag_mandatory' template parameter,
so that addbiblio.tmpl can distinguish between mandatory subfields in a
mandatory tag and mandatory subfields in an optional tag

Not-minor factoring in acqui.simple/addbiblio.pl to make the if-else blocks
smaller, and to add some POD; need further testing for this

Added function to check if a MARC subfield name is "koha-internal" (instead
of checking it for 'lib' and 'tag' everywhere); temporarily added to Koha.pm

Use above function in acqui.simple/additem.pl and search.marc/search.pl
2003-02-03 18:46:00 +00:00
acli
1bf47197ba Added some POD, minor comment fixes 2003-02-03 07:03:06 +00:00
acli
52a5fd4bbd Moved C4/Charset.pm to C4/Interface/CGI/Output.pm
Create output_html_with_http_headers function to contain the "print $query
->header(-type => guesstype...),..." call. This is in preparation for
non-HTML output (e.g., text/xml) and charset conversion before output in
the future.

Created C4/Interface/CGI/Template.pm to hold convenience functions specific
to the CGI interface using HTML::Template

Modified moremembers.pl to make the "sex" field localizable for languages
where M and F doesn't make sense
2003-02-02 07:18:37 +00:00