diff options
author | Ivan Kohler <ivan@freeside.biz> | 2016-03-11 20:06:33 -0800 |
---|---|---|
committer | Ivan Kohler <ivan@freeside.biz> | 2016-03-11 20:06:33 -0800 |
commit | 2347e4dee38ca92b04042812a486694c226cece3 (patch) | |
tree | 0e4e186ad6dcb88de70804a60102fb6a624395bf | |
parent | 3772b8dec61bb23540543552f632a6ef741d02c6 (diff) |
customer package browse: reset page on option change, RT#39822
-rwxr-xr-x | httemplate/view/cust_main/packages.html | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/httemplate/view/cust_main/packages.html b/httemplate/view/cust_main/packages.html index 33ffecca4..43ebb282b 100755 --- a/httemplate/view/cust_main/packages.html +++ b/httemplate/view/cust_main/packages.html @@ -139,7 +139,7 @@ if ( el ) el.scrollIntoView(true); window.location = '<% $cgi->self_url %>;locationnum=' + what.options[what.selectedIndex].value; % $cgi->param('locationnum', $locationnum); } - + </SCRIPT> % } @@ -310,6 +310,7 @@ my $num_pkgs = $cust_main->$method({ my $maxrecords = 10; my $offset = $cgi->param('offset') =~ /^(\d+)$/ ? $1 : 0; +$cgi->delete('offset'); my @packages = $cust_main->$method( { 'select' => "$cust_pkg_fields, $part_pkg_fields, $num_svcs", |