phpgroupware-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Phpgroupware-tracker] [bug #4150] Project list sorting after viewing pr


From: nobody
Subject: [Phpgroupware-tracker] [bug #4150] Project list sorting after viewing project fails
Date: Thu, 13 Nov 2003 09:43:18 -0500
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4.1) Gecko/20031011

=================== BUG #4150: LATEST MODIFICATIONS ==================
http://savannah.gnu.org/bugs/?func=detailbug&bug_id=4150&group_id=509

Changes by: Bettina Gille <address@hidden>
Date: Thu 11/13/2003 at 14:43 (GMT)

            What     | Removed                   | Added
---------------------------------------------------------------------------
          Resolution | None                      | Fixed
              Status | Open                      | Closed




=================== BUG #4150: FULL BUG SNAPSHOT ===================


Submitted by: dhouston                Project: phpGroupWare                 
Submitted on: Mon 06/30/2003 at 13:33
Category:  projects                   Bug Group:  devel cvs                 
Severity:  5 - Major                  Priority:  None                       
Resolution:  Fixed                    Assigned to:  ceb                     
Status:  Closed                       Component Version:  CVS               
Platform Version:  None               Reproducibility:  Every Time          

Summary:  Project list sorting after viewing project fails

Original Submission:  If you limit your project list to a category and then 
view a project from this limited list, when you click the "Done" button on the 
project view page, you're returned to the listing of all projects rather than 
to the limited list.  I was able to fix this by going to the top of the 
view_project() function and adding lines for "cat_id" and "start" as follows:



                       $action                         = 
get_var('action',array('GET'));

                        $pro_parent             = 
get_var('pro_parent',array('GET'));

                        $project_id                     = 
get_var('project_id',array('GET'));

                        $cat_id                 = 
get_var('cat_id',array('GET'));

                        $start                  = get_var('start',array('GET'));





                        $link_data = array

                        (

                                'menuaction'    => 
'projects.uiprojects.list_projects',

                                'pro_parent'    => $pro_parent,

                                'action'                => $action,

                                'project_id'    => $project_id,

                                'cat_id'        => $cat_id,

                                'start'         => $start

                        );



Everything else seems to have fallen into place; the "View" links on the list 
page are built with the cat_id and start params in place, as is the "Done" 
button on the project view page. I would submit a patch, but my source differs 
somewhat from the CVS source thanks to other modifications I've made, and this 
seems simple enough to be transmitted in this manner.  It's not so much a bug 
as a feature, I guess.





No Followups Have Been Posted


CC list is empty


No files currently attached


For detailed info, follow this link:
http://savannah.gnu.org/bugs/?func=detailbug&bug_id=4150&group_id=509

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]