Commit Graph

32 Commits

Author SHA1 Message Date
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
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
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
tipaul ad97981e81 commenting warn 2005-03-08 14:07:47 +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
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 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 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 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 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 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 452e65166c fixes 2003-04-01 12:26:43 +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
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 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
acli 48bd1f1b3c Handle non-latin1 charsets 2003-01-26 23:21:49 +00:00
tipaul 3b6f7a6d06 little improvments (mandatory subfields in item appear red if not filled) 2003-01-14 16:45:33 +00:00
tipaul dd696c61e8 adding authentification with Auth.pm and
MAJOR BUGFIX on marc biblio modification
2002-12-12 16:34:41 +00:00
tipaul 6c9d2864d6 * bugfixes
* improvements done during dombes intallation/tests
* adding authentication (new Auth.pm)
2002-12-10 13:29:09 +00:00
tipaul e0d4e702c3 road to 1.3.2 2002-11-19 12:32:22 +00:00
arensb 7197a3735b Added magic RCS comment.
Removed trailing whitespace.
2002-10-13 07:31:21 +00:00
tonnesen 1e67687742 Added copyright statement to all .pl and .pm files 2002-08-14 18:12:50 +00:00
tipaul 64dae2746d Now, the acqui.simple system...
marcimport.pl has been almost completly rewritten, so LOT OF BUGS TO COME !!! You've been warned. It seems to work, but...

As with my former messages, nothing seems to have been changed... but ...
* marcimport now uses HTML::Template.
* marcimport now uses MARC::Record. that means that when you import a record, the old-DB is populated with the data as in version 1.2, but the MARC-DB part is filled with full MARC::Record.

<IMPORTANT NOTE>
to get correct response times, you MUST add an index on isbn, issn and lccn rows in biblioitem table. Note this should be done in 1.2 too...
</IMPORTANT NOTE>

<IMPORTANT NOTE2>
acqui.simple manage biblio, biblioitems and items tables quite properly. Normal acquisition system manages biblio, biblioitems BUT NOT items. That will be done in the near future...
</IMPORTANT NOTE2>

what's next now ?
* bug tracking, of course... Surely a dozen of dozens...
* LOT of developpments, i'll surely write a mail to koha-devel tomorrow (as it's time for dinner in France, and i plan to play NeverwinterNights after dinner ;-) ...
2002-07-24 16:24:20 +00:00
truth_nz cc840a7bfa Update to acqui.simple system. Hopefully this is a lot more user friendly.
Probably a few bug fixes to come still.
2002-05-22 18:35:25 +00:00
truth_nz 0b52637ff6 Fixed bug due to way hashes take values. Was stopping items being saved to
database. Added code to pick up branch list from database.
2002-05-06 02:47:49 +00:00
truth_nz 073dc61c59 Bug fixes to get the new acqui.simple system working. 2002-05-03 02:47:33 +00:00
truth_nz 9e53e8dbe7 scripts for new acqui.simple system 2002-04-29 05:29:02 +00:00