[otrs-cvs] FAQ/Kernel/Modules AgentFAQSearch.pm, 1.37, 1.38 AgentFAQJournal.pm, 1.10, 1.11 CustomerFAQSearch.pm, 1.28, 1.29 AgentFAQExplorer.pm, 1.20, 1.21 PublicFAQSearch.pm, 1.25, 1.26 AgentFAQSearchSmall.pm, 1.7, 1.8

"CVS commits notifications of OTRS.org" <[email protected]>
Newsgroups gmane.comp.otrs.cvs
Message-ID <[email protected]>
Comments:
Update of /home/cvs/FAQ/Kernel/Modules
In directory lancelot:/tmp/cvs-serv2129/Kernel/Modules

Modified Files:
	AgentFAQSearch.pm AgentFAQJournal.pm CustomerFAQSearch.pm 
	AgentFAQExplorer.pm PublicFAQSearch.pm AgentFAQSearchSmall.pm 
Log Message:
Code cleanup.

Author: cr

Index: AgentFAQSearch.pm
===================================================================
RCS file: /home/cvs/FAQ/Kernel/Modules/AgentFAQSearch.pm,v
retrieving revision 1.37
retrieving revision 1.38
diff -2 -u -d -r1.37 -r1.38
--- AgentFAQSearch.pm	20 Nov 2012 13:05:09 -0000	1.37
+++ AgentFAQSearch.pm	6 Dec 2012 21:34:28 -0000	1.38
@@ -198,5 +198,5 @@
 
             # insert new profile params
-            for my $Key ( keys %GetParam ) {
+            for my $Key ( sort keys %GetParam ) {
                 if ( $GetParam{$Key} ) {
                     $Self->{SearchProfileObject}->SearchProfileAdd(
@@ -592,5 +592,5 @@
                 # get the column names that should be shown
                 COLUMNNAME:
-                for my $Name ( keys %PossibleColumn ) {
+                for my $Name ( sort keys %PossibleColumn ) {
                     next COLUMNNAME if !$PossibleColumn{$Name};
                     push @ShowColumns, $Name;

Author: cr

Index: AgentFAQJournal.pm
===================================================================
RCS file: /home/cvs/FAQ/Kernel/Modules/AgentFAQJournal.pm,v
retrieving revision 1.10
retrieving revision 1.11
diff -2 -u -d -r1.10 -r1.11
--- AgentFAQJournal.pm	20 Nov 2012 13:05:09 -0000	1.10
+++ AgentFAQJournal.pm	6 Dec 2012 21:34:28 -0000	1.11
@@ -73,5 +73,5 @@
         # get the column names that should be shown
         COLUMNNAME:
-        for my $Name ( keys %PossibleColumn ) {
+        for my $Name ( sort keys %PossibleColumn ) {
             next COLUMNNAME if !$PossibleColumn{$Name};
             push @ShowColumns, $Name;
@@ -210,5 +210,5 @@
 
     # loop over configured backends
-    for my $Backend ( keys %{$Backends} ) {
+    for my $Backend ( sort keys %{$Backends} ) {
 
         # build navbar view mode

Author: cr

Index: CustomerFAQSearch.pm
===================================================================
RCS file: /home/cvs/FAQ/Kernel/Modules/CustomerFAQSearch.pm,v
retrieving revision 1.28
retrieving revision 1.29
diff -2 -u -d -r1.28 -r1.29
--- CustomerFAQSearch.pm	20 Nov 2012 13:04:14 -0000	1.28
+++ CustomerFAQSearch.pm	6 Dec 2012 21:34:28 -0000	1.29
@@ -230,5 +230,5 @@
 
             # insert new profile params
-            for my $ParamName ( keys %GetParam ) {
+            for my $ParamName ( sort keys %GetParam ) {
                 if ( $GetParam{$ParamName} ) {
                     $Self->{SearchProfileObject}->SearchProfileAdd(
@@ -486,5 +486,5 @@
 
         # print each attribute in search results area.
-        for my $Attribute ( keys %AttributeMap ) {
+        for my $Attribute ( sort keys %AttributeMap ) {
 
             # check if the attribute was defined by the user

Author: cr

Index: AgentFAQExplorer.pm
===================================================================
RCS file: /home/cvs/FAQ/Kernel/Modules/AgentFAQExplorer.pm,v
retrieving revision 1.20
retrieving revision 1.21
diff -2 -u -d -r1.20 -r1.21
--- AgentFAQExplorer.pm	20 Nov 2012 13:05:09 -0000	1.20
+++ AgentFAQExplorer.pm	6 Dec 2012 21:34:28 -0000	1.21
@@ -279,5 +279,5 @@
         # get the column names that should be shown
         COLUMNNAME:
-        for my $Name ( keys %PossibleColumn ) {
+        for my $Name ( sort keys %PossibleColumn ) {
             next COLUMNNAME if !$PossibleColumn{$Name};
             push @ShowColumns, $Name;

Author: cr

Index: PublicFAQSearch.pm
===================================================================
RCS file: /home/cvs/FAQ/Kernel/Modules/PublicFAQSearch.pm,v
retrieving revision 1.25
retrieving revision 1.26
diff -2 -u -d -r1.25 -r1.26
--- PublicFAQSearch.pm	20 Nov 2012 13:03:38 -0000	1.25
+++ PublicFAQSearch.pm	6 Dec 2012 21:34:28 -0000	1.26
@@ -433,5 +433,5 @@
 
         # print each attribute in search results area.
-        for my $Attribute ( keys %AttributeMap ) {
+        for my $Attribute ( sort keys %AttributeMap ) {
 
             # check if the attribute was defined by the user

Author: cr

Index: AgentFAQSearchSmall.pm
===================================================================
RCS file: /home/cvs/FAQ/Kernel/Modules/AgentFAQSearchSmall.pm,v
retrieving revision 1.7
retrieving revision 1.8
diff -2 -u -d -r1.7 -r1.8
--- AgentFAQSearchSmall.pm	20 Nov 2012 13:05:09 -0000	1.7
+++ AgentFAQSearchSmall.pm	6 Dec 2012 21:34:28 -0000	1.8
@@ -169,5 +169,5 @@
 
             # insert new profile params
-            for my $Key ( keys %GetParam ) {
+            for my $Key ( sort keys %GetParam ) {
                 if ( $GetParam{$Key} ) {
                     $Self->{SearchProfileObject}->SearchProfileAdd(
@@ -251,5 +251,5 @@
             # get the column names that should be shown
             COLUMNNAME:
-            for my $Name ( keys %PossibleColumn ) {
+            for my $Name ( sort keys %PossibleColumn ) {
                 next COLUMNNAME if !$PossibleColumn{$Name};
                 push @ShowColumns, $Name;
---------------------------------------------------------------------
OTRS mailing list: cvs-log - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/cvs-log
To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/cvs-log
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.