Bug 29648: Course reserve detail - normal
Signed-off-by: Owen Leonard <oleonard@myacpl.org> Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
This commit is contained in:
parent
9e8cadcd4d
commit
3fb4d84a80
|
|
@ -643,6 +643,8 @@ modules:
|
|||
|
||||
reserves:
|
||||
course_reserves_table:
|
||||
default_display_length: 20
|
||||
default_sort_order: 0
|
||||
columns:
|
||||
-
|
||||
columnname: title
|
||||
|
|
|
|||
|
|
@ -300,12 +300,12 @@
|
|||
[% INCLUDE 'datatables.inc' %]
|
||||
[% INCLUDE 'columns_settings.inc' %]
|
||||
<script>
|
||||
var columns_settings = [% TablesSettings.GetColumns( 'coursereserves', 'reserves', 'course_reserves_table', 'json' ) | $raw %];
|
||||
var table_settings = [% TablesSettings.GetTableSettings( 'coursereserves', 'reserves', 'course_reserves_table', 'json' ) | $raw %];
|
||||
$(document).ready(function(){
|
||||
var rtable = KohaTable("course_reserves_table", {
|
||||
"sPaginationType": "full",
|
||||
"bAutoWidth": false,
|
||||
}, columns_settings );
|
||||
}, table_settings );
|
||||
|
||||
$(".delete_item").click(function(){
|
||||
return confirmDelete(_("Are you sure you want to remove this item from the course?"));
|
||||
|
|
|
|||
Loading…
Reference in New Issue