Bugzilla – Attachment 48405 Details for
Bug 14753
Show accession date on checkin
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 14753 - Use columns configuration for checkins table
Bug-14753---Use-columns-configuration-for-checkins.patch (text/plain), 4.57 KB, created by
Nick Clemens (kidclamp)
on 2016-02-26 15:53:57 UTC
(
hide
)
Description:
Bug 14753 - Use columns configuration for checkins table
Filename:
MIME Type:
Creator:
Nick Clemens (kidclamp)
Created:
2016-02-26 15:53:57 UTC
Size:
4.57 KB
patch
obsolete
>From fae8cdbf97dbe9c91504e11a293dca42cd4f9f6b Mon Sep 17 00:00:00 2001 >From: Nick Clemens <nick@bywatersolutions.com> >Date: Wed, 10 Feb 2016 00:54:26 +0000 >Subject: [PATCH] Bug 14753 - Use columns configuration for checkins table > >This patch adds the ability to configrue the visible columns on the >check in screen. > >To test with both patches: >1 - Check in an item >2 - Note there is no 'Date acquired' column >3 - Apply patches >4 - Note there is still no 'Date acquired' column >5 - Note that there is now a "Show / hide columns" button >6 - Verify that you can check the box and view the 'Date acquired' >column >7 - Verify that showing/hiding columns works (it will not carry over > between items due to page reload) >8 - Verify that changes from the 'Configure columns' section of >Administration hold between checkins > >Sponsored by: North Central Regional Library (ncrl.org) >--- > admin/columns_settings.yml | 27 ++++++++++++++++++++++ > .../intranet-tmpl/prog/en/modules/circ/returns.tt | 15 ++++++++++-- > 2 files changed, 40 insertions(+), 2 deletions(-) > >diff --git a/admin/columns_settings.yml b/admin/columns_settings.yml >index 9d1e38f..1a3bd12 100644 >--- a/admin/columns_settings.yml >+++ b/admin/columns_settings.yml >@@ -317,6 +317,33 @@ modules: > cannot_be_toggled: 1 > cannot_be_modified: 1 > >+ checkedintable: >+ - >+ columnname: due_date >+ - >+ columnname: title >+ - >+ columnname: author >+ - >+ columnname: barcode >+ - >+ columnname: homelibrary >+ - >+ columnname: holdinglibrary >+ - >+ columnname: location >+ - >+ columnname: itemcallnumber >+ - >+ columnname: dateaccessioned >+ is_hidden: 1 >+ - >+ columnname: itype >+ - >+ columnname: borrower >+ - >+ columnname: itemnote >+ > view_holdsqueue: > holds-table: > - >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt >index 3068a47..ebee61d 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt >@@ -4,11 +4,14 @@ > [% USE Borrowers %] > [% USE ItemTypes %] > [% USE AuthorisedValues %] >+[% USE ColumnsSettings %] > > [% INCLUDE 'doc-head-open.inc' %] > <title>Koha › Circulation › Check in [% title |html %]</title> >+<link rel="stylesheet" type="text/css" href="[% themelang %]/css/datatables.css" /> > [% INCLUDE 'doc-head-close.inc' %] >- >+[% INCLUDE 'datatables.inc' %] >+[% INCLUDE 'columns_settings.inc' %] > [% INCLUDE 'calendar.inc' %] > <script type="text/javascript" src="[% interface %]/lib/jquery/plugins/jquery-ui-timepicker-addon.min.js"></script> > [% INCLUDE 'timepicker.inc' %] >@@ -25,6 +28,14 @@ $(document).ready(function () { > Dopop('hold-transfer-slip.pl?borrowernumber=[% borrowernumber %]&biblionumber=[% biblionumber %]'); > [% END %] > >+ var columns_settings = [% ColumnsSettings.GetColumns( 'circ', 'circulation', 'checkedintable', 'json' ) %] >+ var returns_table = KohaTable("#checkedintable", { >+ "bFilter":false, >+ "bPaginate":false, >+ "bInfo":false, >+ "bSort":false >+ }, columns_settings); >+ > $("#return_date_override").datetimepicker({ > onClose: function(dateText, inst) { $("#barcode").focus(); }, > defaultDate: -1, >@@ -590,7 +601,7 @@ $(document).ready(function () { > [% IF ( riloop ) %] > <h2>Checked-in items</h2> > <table id="checkedintable"> >- <tr><th class="ci-duedate">Due date</th><th class="ci-title">Title</th><th class="ci-author">Author</th><th class="ci-barcode">Barcode</th><th class="ci-homelibrary">Home library</th><th class="ci-holdinglibrary">Holding library</th><th class="ci-shelvinglocation">Shelving location</th><th class="ci-callnumber">Call number</th><th class="ci-dateaccessioned">Date acquired</th><th class="ci-type">Type</th><th class="ci-patron">Patron</th><th class="ci-note">Note</th></tr> >+ <thead><th class="ci-duedate">Due date</th><th class="ci-title">Title</th><th class="ci-author">Author</th><th class="ci-barcode">Barcode</th><th class="ci-homelibrary">Home library</th><th class="ci-holdinglibrary">Holding library</th><th class="ci-shelvinglocation">Shelving location</th><th class="ci-callnumber">Call number</th><th class="ci-dateaccessioned">Date acquired</th><th class="ci-type">Type</th><th class="ci-patron">Patron</th><th class="ci-note">Note</th></thead> > > [% FOREACH riloo IN riloop %] > <tr> >-- >2.1.4
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 14753
:
47834
|
47835
|
47836
|
47837
|
48403
|
48404
|
48405
|
48407
|
48408
|
48489
|
48490
|
48491
|
48492
|
48493
|
48516