Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Request Tracker: Commit

rt branch, 3.8-trunk, updated. rt-3.8.6-72-g835ca9e

 

 

Request Tracker commit RSS feed   Index | Next | Previous | View Threaded


sunnavy at bestpractical

Nov 3, 2009, 9:23 PM

Post #1 of 1 (64 views)
Permalink
rt branch, 3.8-trunk, updated. rt-3.8.6-72-g835ca9e

The branch, 3.8-trunk has been updated
via 835ca9e393799c47bac9be284e5c8bdd045ed3aa (commit)
from 55f5e824dcb06e344a8ae7535f14c973639a0bea (commit)

Summary of changes:
share/html/Search/Build.html | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)

- Log -----------------------------------------------------------------
commit 835ca9e393799c47bac9be284e5c8bdd045ed3aa
Author: sunnavy <sunnavy[at]bestpractical.com>
Date: Wed Nov 4 13:21:47 2009 +0800

we can't use @actions to store query's parse results: we should use another variable to do this

diff --git a/share/html/Search/Build.html b/share/html/Search/Build.html
index e2c13ff..0fd7974 100644
--- a/share/html/Search/Build.html
+++ b/share/html/Search/Build.html
@@ -174,10 +174,11 @@ my $ParseQuery = sub {
return $tree;
};

-my $tree = $ParseQuery->( $query{'Query'}, \@actions );
+my @parse_results;
+my $tree = $ParseQuery->( $query{'Query'}, \@parse_results );

# if parsing went poorly, send them to the edit page to fix it
-if ( $actions[0] ) {
+if ( @parse_results ) {
return $m->comp( "Edit.html", Query => $query{'Query'}, actions => \@actions );
}


-----------------------------------------------------------------------
_______________________________________________
Rt-commit mailing list
Rt-commit[at]lists.bestpractical.com
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-commit

Request Tracker commit RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact lists@gossamer-threads.com
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.