hdl [Fri, 26 Aug 2005 12:21:49 +0000 (12:21 +0000)]
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.
oleonard [Thu, 25 Aug 2005 18:07:19 +0000 (18:07 +0000)]
Fix for bug 585 (Using 'document.forms[0]' notation prevents use of other forms on page) Changing the reference from [0] to ['f'], with 'f' being the form name, seems to work fine.
oleonard [Thu, 25 Aug 2005 17:59:52 +0000 (17:59 +0000)]
Fix for bug 585 (Using 'document.forms[0]' notation prevents use of other forms on page) Changing the reference from [0] to ['f'], with 'f' being the form name, seems to work fine.
oleonard [Thu, 25 Aug 2005 17:34:15 +0000 (17:34 +0000)]
Fix for bug 585 (Using 'document.forms[0]' notation prevents use of other forms on page) Changing the reference from [0] to ['f'], with 'f' being the form name, seems to work fine.
oleonard [Thu, 25 Aug 2005 17:27:49 +0000 (17:27 +0000)]
Fix for bug 585 (Using 'document.forms[0]' notation prevents use of other forms on page) Changing the reference from [0] to ['f'], with 'f' being the form name, seems to work fine.
oleonard [Thu, 25 Aug 2005 17:19:03 +0000 (17:19 +0000)]
- Fix for bug 585 (Using 'document.forms[0]' notation prevents use of other forms on page) Changing the reference from [0] to ['f'], with 'f' being the form name, seems to work fine.
- quoting some unquoted attributes
- fixing HTML typo
oleonard [Thu, 25 Aug 2005 16:36:00 +0000 (16:36 +0000)]
Fix for bug 585 (Using 'document.forms[0]' notation prevents use of other forms on page) Changing the reference from [0] to ['f'], with 'f' being the form name, seems to work fine.
oleonard [Wed, 24 Aug 2005 17:49:59 +0000 (17:49 +0000)]
Fixes for Bug 926 (forms lack method and/or action attributes). Also hiding 'delete' functionality from opac-shelves.tmpl when user cannot manage shelf, other HTML cleanup
hdl [Wed, 24 Aug 2005 10:44:53 +0000 (10:44 +0000)]
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.
hdl [Wed, 24 Aug 2005 09:02:25 +0000 (09:02 +0000)]
Adding a notes field into serial table.
Manage a note for a serial number...
Will allow a librarian to say "contact with supplier for this serial : Will be received on date... " or anything else.
oleonard [Wed, 10 Aug 2005 21:36:08 +0000 (21:36 +0000)]
- updating alternating table row switch to work with CSS
- adding 'allmessages' variable to tell template whether to display error message container
- adding more borrower information details so that reserve notification matches that on returns screen
oleonard [Wed, 10 Aug 2005 21:10:19 +0000 (21:10 +0000)]
Adding:
- alerting librarian about whether reserved item is at destination branch
- displaying borrower email in reserve notification (link is active for items at their home branch)
- displaying debarred and gonenoaddress flags (if present) in reserve notification
joshferraro [Wed, 10 Aug 2005 17:37:58 +0000 (17:37 +0000)]
reserve button wasn't showing up on the OPAC detail screen. Fixes
that problem. But note that the code is still problematic because
there doesn't seem to be a clear consistant method for determining
whether an item is notforloan in koha (especially since notforloan
is often mapped to status).
oleonard [Wed, 10 Aug 2005 17:30:12 +0000 (17:30 +0000)]
Adding several variables to template output:
- member email
- member flags debarred and gonenoaddress (relevant to reserves notification)
- information about current branch and destination branch of reserves (for reserves transfers)
oleonard [Wed, 10 Aug 2005 16:06:45 +0000 (16:06 +0000)]
- Skipping over CVS directory when compiling list of available languages
- Won't pass languages array to template if there is only one language available
oleonard [Wed, 3 Aug 2005 19:20:20 +0000 (19:20 +0000)]
- synching with default template
- improving usability of forms (adding labels)
- adding alternating row colors to branch and branch category tables
- correcting and clarifying error messages
oleonard [Tue, 2 Aug 2005 20:57:19 +0000 (20:57 +0000)]
- Translating a template variable into English
- Adding borrowernumber to the confirmation screen so that user can be returned to his user page
- Removing warn
tipaul [Tue, 2 Aug 2005 15:03:33 +0000 (15:03 +0000)]
* changing order on detailled subscription history : ordering by subscriptionid before date (to see all issues for a given subscription at once)
* when building lists, don't put title twice on multiple subscriptions to a title (replace it by "")
joshferraro [Tue, 2 Aug 2005 01:39:02 +0000 (01:39 +0000)]
Lets patrons change their password from their account. Needs translation
and template help: Owen, could you take care of that (should only be a few
lines to translate) and also add it to the default and programmer templates?.
tipaul [Mon, 1 Aug 2005 15:11:59 +0000 (15:11 +0000)]
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
pugins to manage leader in MARC21 and in UNIMARC.
UNIMARC needs some tweaking but works, MARC21 still buggy, i'll fix it on monday, dont try it yet pls ;-)
* 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.
Some cleaning :
- removing dirty hack getMARCurl in SearchMarc.pm & replacing it by some Perl in Search.pm : if repeated, urls are stored in biblioitems.url, separated by a |. Now, the urls are splitted in an array. WARNING : the template has been modified & NPL MUST modify their templates as well, should be really trivial (open http://bureau.paulpoulain.com:9010/cgi-bin/koha/opac-detail.pl?bib=1 to see the result)
- using getMARCsubjcts and getMARCnotes in css templates as well. WARNING (specially for NPL) : the MARC notes & subjects were outside from BIBLIO_RESULTS array. As notes & subjects were in this <!-- TMPL_LOOP --> i had to add them IN the loop. I think it's better, so I commented (line 73 and 74 of opac-detail) 2 lines that are useless for me but useful for you. My opinion is that it would be better to modify your template to put notes & subjects in the <TMPL_LOOP> (should be trivial) than uncommenting those lines (= create duplicate code)
However, my real opinion is that we have no good reason to use <!-- TMPL_LOOP name="BIBLIO_RESULTS" --> as we always have only 1 biblio here. But that's something we should fix in HEAD, not in 2.2