[Koha-bugs] [Bug 10513] Light up a warning/message when returning a chosen item type.
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Mon Jul 22 19:25:23 CEST 2013
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=10513
Magnus Enger <magnus at enger.priv.no> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #19444|0 |1
is obsolete| |
--- Comment #8 from Magnus Enger <magnus at enger.priv.no> ---
Created attachment 19854
-->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=19854&action=edit
Bug 10513 - Light up a warning/message when returning a chosen item type
This patch adds a new column to item types. Text in this column is
displayed as a warning when an item of the given type is checked in.
Use case: Items that are on inter-library loan can have a separate
item type, and when items of this type are checked in a message
saying something like "ILL! Remember to return it to the owning
library!" can be displayed.
To test:
- Apply the patch
- Go to Home > Administration > Item types administration
- Check that there is a new column, called "Check in message"
- Edit an item type and add a check in message
- Check that the check in message you added is displayed in the table
- Check in an item with an item type that has a check in message
- Check that the message is displayed
- Check in an item with an item type that does *not* have a check
in message, and make sure no false messages are displayed
- Create a new item type from scratch and check that it works
the way it is supposed to
- Run the tests in t/ItemType.t, which are updated by this patch
This patch also removes backticks around column names in the
itemtypes table in installer/data/mysql/kohastructure.sql
UPDATE 2013-07-22
- Rebased on current master (no changes)
- Added "AFTER summary" to the SQL statement in updatedatabase.pl
- Added another placeholder on line 170 of admin/itemtypes.pl
Thanks Katrin!
Sponsored-by: Kultur i Halland - Regionbibliotek
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list