]> git.koha-community.org Git - koha.git/commit
Bug 8215 - Course Reserves
authorKyle M Hall <kyle@bywatersolutions.com>
Tue, 17 Apr 2012 12:07:32 +0000 (08:07 -0400)
committerGalen Charlton <gmc@esilibrary.com>
Tue, 21 May 2013 22:50:55 +0000 (15:50 -0700)
commitbe869ab2790f1a5d43c7d5f3aab4d8b77d2acc9f
tree0566dd1308834bb11b02baf327bc0552cedd2929
parentda6f7fbb2a176a7194c122a3eeb8d5844fabbc86
Bug 8215 - Course Reserves

Adds a course reserves system for academic libraries.

The course reserves system allows libraries to create courses
and put items on reserves for those courses.

Each item with at least one reserve can have some of its attributes
modified while it is on reserve for at least one active course.
These attributes include item type, collection code, shelving location,
and holding library. If there are no active courses with this item
on reserve, it's attributes will revert to the original attributes
it had before going on reserve.

Test Plan:
  1) Create new authorised value categories DEPARTMENT and TERM
  2) Create a new course, add instructors to that course.
  3) Reserve items for that course, verify item attributes have changed.
  4) Disable course, verify item attributes have reverted.
  5) Enable course again, verify item attributes again.
  6) Delete course, verify item attributes again.
  7) Create two new courses, add the same item(s) to both courses.
  8) Disable one course, verify item attributes have not reverted.
  9) Disable both courses, verify item attributes have reverted.
 10) Enable one course, verify item attributes are again set to the
     new values.
 11) Edit reserve item attributes, verify.
 12) Disable all courses, edit reserve item attributes, verify
     the item itself still has its original attributes, verify
     the reserve item attributes have been updated.
 13) Verify the ability to remove instructors from a course.
 14) Verify new permissions, top level coursereserves, with
     subpermissions add_reserves and delete_reserves.

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Corinne Bulac <corinne.hayet@bulac.fr>
Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com>
http://bugs.koha-community.org/show_bug.cgi?id=8125
56 files changed:
C4/Auth.pm
C4/CourseReserves.pm [new file with mode: 0644]
C4/Koha.pm
Koha/Template/Plugin/AuthorisedValues.pm [new file with mode: 0644]
Koha/Template/Plugin/Branches.pm [new file with mode: 0644]
Koha/Template/Plugin/ItemTypes.pm [new file with mode: 0644]
Makefile.PL
admin/authorised_values.pl
catalogue/detail.pl
course_reserves/add_items.pl [new file with mode: 0755]
course_reserves/course-details.pl [new file with mode: 0755]
course_reserves/course-reserves.pl [new file with mode: 0755]
course_reserves/course.pl [new file with mode: 0755]
course_reserves/mod_course.pl [new file with mode: 0755]
installer/data/mysql/de-DE/mandatory/userflags.sql
installer/data/mysql/de-DE/mandatory/userpermissions.sql
installer/data/mysql/en/mandatory/userflags.sql
installer/data/mysql/en/mandatory/userpermissions.sql
installer/data/mysql/es-ES/mandatory/userflags.sql
installer/data/mysql/es-ES/mandatory/userpermissions.sql
installer/data/mysql/fr-FR/1-Obligatoire/userflags.sql
installer/data/mysql/fr-FR/1-Obligatoire/userpermissions.sql
installer/data/mysql/it-IT/necessari/userflags.sql
installer/data/mysql/it-IT/necessari/userpermissions.sql
installer/data/mysql/kohastructure.sql
installer/data/mysql/nb-NO/1-Obligatorisk/userflags.sql
installer/data/mysql/nb-NO/1-Obligatorisk/userpermissions.sql
installer/data/mysql/pl-PL/mandatory/userflags.sql
installer/data/mysql/pl-PL/mandatory/userpermissions.sql
installer/data/mysql/ru-RU/mandatory/permissions_and_user_flags.sql
installer/data/mysql/sysprefs.sql
installer/data/mysql/uk-UA/mandatory/permissions_and_user_flags.sql
installer/data/mysql/updatedatabase.pl
koha-tmpl/intranet-tmpl/prog/en/css/staff-global.css
koha-tmpl/intranet-tmpl/prog/en/includes/header.inc
koha-tmpl/intranet-tmpl/prog/en/js/staff-global.js
koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/circulation.pref
koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt
koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/additem.tt
koha-tmpl/intranet-tmpl/prog/en/modules/course_reserves/add_items-step1.tt [new file with mode: 0644]
koha-tmpl/intranet-tmpl/prog/en/modules/course_reserves/add_items-step2.tt [new file with mode: 0644]
koha-tmpl/intranet-tmpl/prog/en/modules/course_reserves/course-details.tt [new file with mode: 0644]
koha-tmpl/intranet-tmpl/prog/en/modules/course_reserves/course-reserves.tt [new file with mode: 0644]
koha-tmpl/intranet-tmpl/prog/en/modules/course_reserves/course.tt [new file with mode: 0644]
koha-tmpl/intranet-tmpl/prog/en/modules/members/mancredit.tt
koha-tmpl/intranet-tmpl/prog/en/modules/members/maninvoice.tt
koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt
koha-tmpl/opac-tmpl/ccsr/en/includes/masthead.inc
koha-tmpl/opac-tmpl/prog/en/includes/masthead.inc
koha-tmpl/opac-tmpl/prog/en/modules/opac-course-details.tt [new file with mode: 0644]
koha-tmpl/opac-tmpl/prog/en/modules/opac-course-reserves.tt [new file with mode: 0644]
koha-tmpl/opac-tmpl/prog/en/modules/opac-detail.tt
opac/opac-course-details.pl [new file with mode: 0755]
opac/opac-course-reserves.pl [new file with mode: 0755]
opac/opac-detail.pl
t/db_dependent/CourseReserves.t [new file with mode: 0755]