[Rt-commit] [rtir] 01/01: /RTIR/Search/Results.html shows up less often

Kevin Falcone falcone at bestpractical.com
Mon Apr 29 19:11:01 EDT 2013


This is an automated email from the git hooks/post-receive script.

falcone pushed a commit to branch 2.9/stop-clobbering-session-collection
in repository rtir.

commit 562491ab44a510259d1de60639b33c9a99c1dce4
Author: Kevin Falcone <falcone at bestpractical.com>
Date:   Mon Apr 29 18:55:25 2013 -0400

    /RTIR/Search/Results.html shows up less often
    
    This reduces the number of tests we walk.  In 8d3cc5fa0f we stop adding
    CurrentSearchHash on ever search rendering.  Since the menu code only
    looks at CurrentSearchHash before showing a results link, it was
    triggering even if there wasn't a tickets object in your session yet.
    
    ShowResults now only update CurrentSearchHash when also updating
    session{'tickets'}, rather than allowing session{'CurrentSearchHash'}
    and session{'tickets'} to have nothing to do with each other.
---
 t/walk-web.t | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/t/walk-web.t b/t/walk-web.t
index 4730303..ee5731f 100644
--- a/t/walk-web.t
+++ b/t/walk-web.t
@@ -5,7 +5,7 @@ use warnings;
 
 use HTML::TreeBuilder;
 
-use RT::IR::Test tests => 609;
+use RT::IR::Test tests => 579;
 
 RT::Test->started_ok;
 my $m = default_agent();

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Rt-commit mailing list