summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorivan <ivan>2004-12-02 10:18:35 +0000
committerivan <ivan>2004-12-02 10:18:35 +0000
commit2e01e767e3ec53eca7193e4498a449d9d92b4f89 (patch)
treec1f89f716bfc266e106b3eecad03733657088495
parent0d1d2630e726ab4ce32bab9c3e4a889eee43fcb4 (diff)
fix license boilerplate and search sorting
-rwxr-xr-xhttemplate/search/cust_main.cgi2
-rw-r--r--rt/html/Ticket/Elements/AddCustomers14
-rw-r--r--rt/html/Ticket/Elements/EditCustomers14
3 files changed, 3 insertions, 27 deletions
diff --git a/httemplate/search/cust_main.cgi b/httemplate/search/cust_main.cgi
index c4b0ce0..b2f8bef 100755
--- a/httemplate/search/cust_main.cgi
+++ b/httemplate/search/cust_main.cgi
@@ -451,7 +451,7 @@ sub custnum_sort {
}
sub tickets_sort {
- $a->getfield('tickets') <=> $b->getfield('tickets');
+ $b->getfield('tickets') <=> $a->getfield('tickets');
}
sub custnumsearch {
diff --git a/rt/html/Ticket/Elements/AddCustomers b/rt/html/Ticket/Elements/AddCustomers
index b26b3a6..66480e2 100644
--- a/rt/html/Ticket/Elements/AddCustomers
+++ b/rt/html/Ticket/Elements/AddCustomers
@@ -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>
diff --git a/rt/html/Ticket/Elements/EditCustomers b/rt/html/Ticket/Elements/EditCustomers
index 49edb27..10b9c5b 100644
--- a/rt/html/Ticket/Elements/EditCustomers
+++ b/rt/html/Ticket/Elements/EditCustomers
@@ -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%>