#3920 Fix different results between tracker index and bulk edit

v1.0.0
closed
sf-1 (616)
Tracker
2015-08-20
2012-03-20
No

If you click the bulk edit link on the tracker index you may get a page with additional results in it. This only happens on some ticket statuses and is likely related to the slightly different queries they use.

Discussion

  • Jenny Steele - 2012-03-20
    • status: open --> in-progress
    • assigned_to: Jenny Steele
    • size: --> 1
    • milestone: limbo --> forge-mar-23
     
  • Jenny Steele - 2012-03-20
    • status: in-progress --> code-review
    • qa: Tim Van Steenburgh
     
  • Jenny Steele - 2012-03-20

    On allura js/3920. To test, create a few tickets will different statuses. Remove one of those statuses from the closed/open status list so it doesn't show up in either. Now go to the ticket index page and click the bulk edit link and make sure you have the same results. Also try changing the sort on the index page and make sure the bulk edit correctly reflects that.

     
    • status: code-review --> in-progress
     
  • I created 6 tickets, one with each of these statuses: open, accepted, unread, closed, pending, wont-fix. I removed 'unread' from both the open and closed status list. I found a few problems:

    1. On the Tracker home page I see four tickets (open, accepted, unread, pending). When I click on Bulk edit I see the same 4 tickets, but if I sort the results on the Bulk edit page, the 'closed' ticket shows up in the results.

    2. On the bulk edit view, I can't sort by ticket number or Milestone, and if I sort by Summary, the results are actually sorted by 'ticket_num_i'

    3. If I sort by Milestone or Owner on the Tracker index page (while viewing the 4 open tickets), then click Bulk Edit, I get "No tickets found"

     
  • Jenny Steele - 2012-03-22
    • status: in-progress --> code-review
     
    • status: code-review --> in-progress
     
  • Everything looks good except Milestone sorting on the Bulk Edit page still doesn't work correctly. I was able to sort milestones in desc order but not asc.

     
  • Jenny Steele - 2012-03-28

    Fixed the milestone sorting.

     
  • Jenny Steele - 2012-03-28
    • status: in-progress --> code-review
     
    • status: code-review --> closed
     
  • Loks good, merged to dev.

     

Log in to post a comment.