spacetelescope / jwql

The James Webb Space Telescope Quicklook Application
BSD 3-Clause "New" or "Revised" License
64 stars 44 forks source link

Sorting/filtering of query results only applies to current page #1567

Closed stscijgbot-jwql closed 2 months ago

stscijgbot-jwql commented 4 months ago

Issue JWQL-197 was created on JIRA by Bryan Hilbert:

Reported by NIRSpec:

When looking at results of a query, the sorting and filtering that are selected only apply to the current page of results, rather than all the results across all pages.

stscijgbot-jwql commented 2 months ago

Comment by Bradley Sappington on JIRA:

Sorting of the results is available on the initial query page (see attachment).  A re-sorting is essentially a new query due to our pagination setup.

Bryan Hilbert , there was talk of moving these boxes down to the submit button?  It may look a little weird, but it would remind the user that it is an option.  Is that a solution worth implementing?  Or is just reminding that the sorting options are on the initial query page enough?

stscijgbot-jwql commented 2 months ago

Comment by Bryan Hilbert on JIRA:

Maybe now that the default is 500 results per page, this will help those who don't read the options carefully? Moving alongside the Submit button might help, but at some point users need to read the page. 

 

Maybe we should add some text to the results page suggesting that any re-filtering/re-sorting that will drastically change the results should be done via a new query? I'm thinking of cases where someone submits a query while asking for most recent obs first, but then wants to re-order by program number. Do you think that would be helpful?

stscijgbot-jwql commented 2 months ago

Comment by Bradley Sappington on JIRA:

It could be helpful, but I think that may add "one and done" clutter to the results page.  Once you know its there you dont need it written anymore, so seems like a wasteful use of space.

stscijgbot-jwql commented 2 months ago

Comment by Bradley Sappington on JIRA:

I can also move the sorting and num results per page all the way to the left of instrument, so the user will see them before even seeing the instrument options?

stscijgbot-jwql commented 2 months ago

Comment by Bryan Hilbert on JIRA:

After further discussion, we've decided not to make any changes related to this issue. The default value for number of results per page has been increased to 500, to try to minimize any effects from re-sorting.

Since a re-sorting is essentially a new query anyway, we may as well encourage users to run a new query if they need to re-sort in a way where they need to look across pages.