(MT #1654) followup : corrects tablesorting for authorised_values and itemtypes
authorStéphane Delaune <stephane.delaune@biblibre.com>
Tue, 31 Aug 2010 12:01:39 +0000 (14:01 +0200)
committerChris Cormack <chrisc@catalyst.net.nz>
Tue, 21 Dec 2010 08:18:11 +0000 (21:18 +1300)
koha-tmpl/intranet-tmpl/prog/en/modules/admin/authorised_values.tmpl
koha-tmpl/intranet-tmpl/prog/en/modules/admin/itemtypes.tmpl

index 859cdce..91dcc63 100644 (file)
@@ -10,7 +10,8 @@
 <script type="text/javascript" id="js">$(document).ready(function() {
        // call the tablesorter plugin
        $("#table_authorized_values").tablesorter({
-               sortList: [[1,0]]
+               sortList: [[1,0]],
+               headers: { 4: { sorter: false}, 5: { sorter: false}}
                                }).tablesorterPager({container: $("#pagertable_authorized_values"),positionFixed: false,size: 20});
        
 }); </script>
index 4dbbf2a..e24a545 100644 (file)
@@ -24,8 +24,8 @@ Data Deleted
        // call the tablesorter plugin
        $("#table_item_type").tablesorter({
                sortList: [[1,0]],
-               headers: { 0: { sorter: false}}
-                               }).tablesorterPager({container: $("#pagertable_item_type"),positionFixed: false,size: 20});
+               headers: { 0: { sorter: false},5: { sorter: false}}
+                               }).tablesorterPager({container: $("#pagertable_item_type"),positionFixed: false,size: 10});
        
 }); </script>
 <script type="text/javascript">
@@ -294,8 +294,8 @@ Item Types Administration
                <img src="<!-- TMPL_VAR name="interface" -->/prog/img/last.png" class="last"/>
                , entries/page : 
                <select class="pagesize">
-               <option value="10">10</option>
-                       <option selected="selected" value="20">20</option>
+               <option selected="selected" value="10">10</option>
+                       <option value="20">20</option>
                        <option value="30">30</option>
                        <option value="40">40</option>
                        <option value="50">50</option>