projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3772b8d
)
customer package browse: reset page on option change, RT#39822
author
Ivan Kohler
<ivan@freeside.biz>
Sat, 12 Mar 2016 04:06:33 +0000
(20:06 -0800)
committer
Ivan Kohler
<ivan@freeside.biz>
Sat, 12 Mar 2016 04:06:33 +0000
(20:06 -0800)
httemplate/view/cust_main/packages.html
patch
|
blob
|
history
diff --git
a/httemplate/view/cust_main/packages.html
b/httemplate/view/cust_main/packages.html
index
33ffecc
..
43ebb28
100755
(executable)
--- 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",