[freeside-commits] freeside/httemplate/search cust_main.cgi, 1.62,
1.63
Ivan,,,
ivan at wavetail.420.am
Mon May 15 04:05:06 PDT 2006
- Previous message: [freeside-commits]
freeside/rt/html/Elements TitleBoxStart, 1.1.1.3,
1.2 Tabs, 1.6, 1.7 Header, 1.8, 1.9 PageLayout, 1.6,
1.7 FreesideNewCust, NONE, 1.1 FreesideSearch, NONE,
1.1 SimpleSearch, 1.4, 1.5
- Next message: [freeside-commits] freeside/rt FREESIDE_MODIFIED,1.8,1.9
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /home/cvs/cvsroot/freeside/httemplate/search
In directory wavetail:/tmp/cvs-serv30459/httemplate/search
Modified Files:
cust_main.cgi
Log Message:
more ACL and re-skinning work, now with RT!
Index: cust_main.cgi
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/search/cust_main.cgi,v
retrieving revision 1.62
retrieving revision 1.63
diff -u -d -r1.62 -r1.63
--- cust_main.cgi 14 May 2006 16:47:30 -0000 1.62
+++ cust_main.cgi 15 May 2006 11:05:04 -0000 1.63
@@ -186,6 +186,13 @@
push @cust_main, @{&companysearch};
}
+ if ( $cgi->param('search_cust') ) {
+ $sortby = \*company_sort;
+ $orderby = "ORDER BY LOWER(company || ' ' || last || ' ' || first )";
+ warn "smart searching for: ". $cgi->param('search_cust');
+ push @cust_main, smart_search( 'search' => $cgi->param('search_cust') );
+ }
+
@cust_main = grep { $_->ncancelled_pkgs || ! $_->all_pkgs } @cust_main
if ! $cgi->param('cancelled')
&& (
@@ -313,7 +320,7 @@
$conf->config('ticket_system-custom_priority_field-values');
}
- print "<BR><BR>". $pager. &table(). <<END;
+ print "<BR><BR>". $pager. include('/elements/table-grid.html'). <<END;
<TR>
<TH></TH>
<TH>(bill) name</TH>
- Previous message: [freeside-commits]
freeside/rt/html/Elements TitleBoxStart, 1.1.1.3,
1.2 Tabs, 1.6, 1.7 Header, 1.8, 1.9 PageLayout, 1.6,
1.7 FreesideNewCust, NONE, 1.1 FreesideSearch, NONE,
1.1 SimpleSearch, 1.4, 1.5
- Next message: [freeside-commits] freeside/rt FREESIDE_MODIFIED,1.8,1.9
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the freeside-commits
mailing list