Skip to content
Permalink
Browse files

More useful defaults for toolbar search

  • Loading branch information...
flack committed Mar 2, 2019
1 parent f578766 commit f3472550756305b41f42b7ef0bf3f9e31442a353
Showing with 4 additions and 1 deletion.
  1. +1 −1 lib/org/openpsa/projects/style/show-task-grid.php
  2. +3 −0 static/midcom.grid/jqGrid.custom.js
@@ -72,5 +72,5 @@
midcom_grid_footer.set_field('&(grid_id);', 'invoiced_hours', 'sum');
midcom_grid_footer.set_field('&(grid_id);', 'reported', 'sum');
$('#&(grid_id);').jqGrid('filterToolbar', {defaultSearch: 'cn'});
$('#&(grid_id);').jqGrid('filterToolbar');
</script>
@@ -21,6 +21,9 @@ var midcom_jqgrid_presets = {

$.jgrid.defaults = $.extend($.jgrid.defaults, midcom_jqgrid_presets);

$.jgrid.search.searchOnEnter = false;
$.jgrid.search.defaultSearch = 'cn';

var midcom_grid_resize = {
timer: false,
containment: '#content-text',

0 comments on commit f347255

Please sign in to comment.
You can’t perform that action at this time.