fix license boilerplate and search sorting
authorivan <ivan>
Thu, 2 Dec 2004 10:18:35 +0000 (10:18 +0000)
committerivan <ivan>
Thu, 2 Dec 2004 10:18:35 +0000 (10:18 +0000)
httemplate/search/cust_main.cgi
rt/html/Ticket/Elements/AddCustomers
rt/html/Ticket/Elements/EditCustomers

index c4b0ce0..b2f8bef 100755 (executable)
@@ -451,7 +451,7 @@ sub custnum_sort {
 }
 
 sub tickets_sort {
-  $a->getfield('tickets') <=> $b->getfield('tickets');
+  $b->getfield('tickets') <=> $a->getfield('tickets');
 }
 
 sub custnumsearch {
index b26b3a6..66480e2 100644 (file)
@@ -1,8 +1,4 @@
-%# BEGIN LICENSE BLOCK
-%# 
-%# Copyright (c) 1996-2003 Jesse Vincent <jesse@bestpractical.com>
-%# 
-%# (Except where explictly superceded by other copyright notices)
+%# Copyright (c) 2004 Ivan Kohler <ivan-rt@420.am>
 %# 
 %# This work is made available to you under the terms of Version 2 of
 %# the GNU General Public License. A copy of that license should have
@@ -13,14 +9,6 @@
 %# WITHOUT ANY WARRANTY; without even the implied warranty of
 %# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 %# General Public License for more details.
-%# 
-%# Unless otherwise specified, all modifications, corrections or
-%# extensions to this work which alter its source code become the
-%# property of Best Practical Solutions, LLC when submitted for
-%# inclusion in the work.
-%# 
-%# 
-%# END LICENSE BLOCK
 <BR>
 <%$msg%><br>
 
index 49edb27..10b9c5b 100644 (file)
@@ -1,8 +1,4 @@
-%# BEGIN LICENSE BLOCK
-%# 
-%# Copyright (c) 1996-2003 Jesse Vincent <jesse@bestpractical.com>
-%# 
-%# (Except where explictly superceded by other copyright notices)
+%# Copyright (c) 2004 Ivan Kohler <ivan-rt@420.am>
 %# 
 %# This work is made available to you under the terms of Version 2 of
 %# the GNU General Public License. A copy of that license should have
@@ -13,14 +9,6 @@
 %# WITHOUT ANY WARRANTY; without even the implied warranty of
 %# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 %# General Public License for more details.
-%# 
-%# Unless otherwise specified, all modifications, corrections or
-%# extensions to this work which alter its source code become the
-%# property of Best Practical Solutions, LLC when submitted for
-%# inclusion in the work.
-%# 
-%# 
-%# END LICENSE BLOCK
 <TABLE width=100%>
   <TR>
     <TD VALIGN=TOP WIDTH=50%>