Bug 709495

Summary: Can't sort search results
Product: [Community] Bugzilla Reporter: Anders Montonen <anders.montonen>
Component: Query/Bug ListAssignee: Simon Green <sgreen>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 3.6CC: ebaak, nelhawar, sgreen
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-06-09 21:24:51 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Anders Montonen 2011-05-31 20:04:21 UTC
Description of problem:
Clicking on the column headers of the search result page produces error message

Version-Release number of selected component (if applicable):


How reproducible:
Always

Steps to Reproduce:
1. Make a new search
2. Click on result column header
3.
  
Actual results:
"You may not search, or create saved searches, without any search terms."

Expected results:
List of bugs sorted by selected column.

Additional info:

Comment 2 Noura El hawary 2011-06-01 10:51:05 UTC
Hi Simon,

I am not really able to reproduce this issue, I can sort the columns fine in the search result page in the live bugzilla.. is it a specific column that we cannot sort?

Noura

Comment 3 Simon Green 2011-06-01 11:01:57 UTC
(In reply to comment #2)
> Hi Simon,
> 
> I am not really able to reproduce this issue, I can sort the columns fine in
> the search result page in the live bugzilla.. is it a specific column that we
> cannot sort?

Steps to reproduce.

1) Visit https://bugzilla.redhat.com
2) So a simple search
  Status: Open
  Product: Red Hat Enterprise Linux 5
  Words: kernel
3) On the next page, click the 'Serv' heading
4) Oh dear!

Comment 4 Noura El hawary 2011-06-01 11:52:03 UTC
Hi Simon,

the patch looks good and fixes most of the cases, however it doesn't fix the case if you have format=specific as a cgi parameter as a result of opening simple search page after opening an advanced search page,

https://bugzilla.redhat.com/query.cgi?format=specific

1- Click Search Button, this will open the simple search tab
2- click the advanced search tab
3- click the simple search tab, the cgi parameter format=specific will appear.

Thanks,
Noura

Comment 8 Simon Green 2011-06-09 21:24:51 UTC
A fix for this issue was released today. Thank you for taking the time to report it to Red Hat's Bugzilla Team.

  -- simon