RT# 77332 - updated new search option name to make it more clear.
authorChristopher Burger <burgerc@freeside.biz>
Mon, 23 Oct 2017 21:04:15 +0000 (17:04 -0400)
committerChristopher Burger <burgerc@freeside.biz>
Tue, 24 Oct 2017 15:39:25 +0000 (11:39 -0400)
httemplate/search/cust_pkg.cgi
httemplate/search/elements/search-html.html

index 16e16c3..2459c44 100755 (executable)
@@ -4,7 +4,7 @@
                   'name'        => 'packages',
                   'query'       => $sql_query,
                   'count_query' => $count_query,
-                  'search_string' => $search_string,
+                  'html_init_data' => $search_string,
                   'header'      => [ emt('#'),
                                      emt('Quan.'),
                                      emt('Package'),
index 87bdbab..147a2d9 100644 (file)
@@ -62,7 +62,7 @@
 
         <% defined($opt{'html_init'}) 
               ? ( ref($opt{'html_init'})
-                    ? &{$opt{'html_init'}}($opt{search_string})
+                    ? &{$opt{'html_init'}}($opt{html_init_data})
                     : $opt{'html_init'}
                 )
               : ''