Index  | Recent Threads  | Unanswered Threads  | Who's Active  | Guidelines  | Search
 

Quick Go »
No member browsing this thread
Thread Status: Active
Total posts in this thread: 5
[ Jump to Last Post ]
Post new Thread
Author
Previous Thread This topic has been viewed 1696 times and has 4 replies Next Thread
Pousse
Cruncher
Joined: Jun 10, 2007
Post Count: 8
Status: Offline
Project Badges:
Reply to this Post  Reply with Quote 
Results Status - Small issue in list of pages

I found a funny bug on the results page.

One of my projects is currently showing 9 pages of Workunits in the results pages, and it made me discover a small bug in Results Status page display.

Above top-right corner of the table, the page displays a short list of pages numbers.

When I look at first page, this list is:
Page: 1 2 3 4 5 6 Last >

This let me think I've got only 6 pages

But if I click on "Last", I go to page 9 (!) and the list becomes
Page: < First 1 ... 4 5 6 7 8 9

Of course, this is not coming from 3 hidden pages suddenly reappearing. Only the list of pages numbers is affected.

If I click on number 5, I get
Page: < First 1 2 3 4 5 6 7 8 9 Last >

As you can see, an algorithm has been written to separate the list in 3 parts (Beginning ... End) when the list exceed a certain amount of pages , but it doesn't work in this particular case when I look at page 1.

It doesn't act this way on every page 1 of my results
When I select another project, which lists 55 pages of workunits, the first page shows this list:
Page: 1 2 3 4 5 6 ... 55 Last >

Apparently I discovered this bug only because one of my projects have less than 10 pages to display in results page.
[Dec 13, 2016 5:07:02 PM]   Link   Report threatening or abusive post: please login first  Go to top 
deltavee
Ace Cruncher
Texas Hill Country
Joined: Nov 17, 2004
Post Count: 4894
Status: Offline
Project Badges:
Reply to this Post  Reply with Quote 
Re: Results Status - Small issue in list of pages

This has been the behavior for as long as I can remember. Call it a bug if you want. If you have more pages than six but less than twelve, you have to give it an extra click to see how many total pages you have.
[Dec 13, 2016 5:23:07 PM]   Link   Report threatening or abusive post: please login first  Go to top 
Pousse
Cruncher
Joined: Jun 10, 2007
Post Count: 8
Status: Offline
Project Badges:
Reply to this Post  Reply with Quote 
Re: Results Status - Small issue in list of pages

OK.

Now could you explain to me why it behaves differently when I click on "First" or on "Last", with the same amount of pages (9)?

What is the reason for not having 3 dots here:
Page: 1 2 3 4 5 6 Last >

when it's possible there ?
Page: < First 1 ... 4 5 6 7 8 9

I call it a bug because the first case should display something like this
Page: 1 2 3 4 5 6 ... Last >

Not because I'm too lazy to click on a link to see hidden pages.
[Dec 15, 2016 2:31:36 PM]   Link   Report threatening or abusive post: please login first  Go to top 
Former Member
Cruncher
Joined: May 22, 2018
Post Count: 0
Status: Offline
Reply to this Post  Reply with Quote 
Re: Results Status - Small issue in list of pages

On my RS pages, just as deltavee describes

Page: 1 2 3 4 5 6 ... 22 Last >

But if less than 12, there's a creek to traverse.

Anyway, standard answer from the higher echelon is 'Thank you for reporting... we've added the problem to our [very long] To Do list'

(note the ellipsis :)
[Dec 15, 2016 2:54:28 PM]   Link   Report threatening or abusive post: please login first  Go to top 
NixChix
Veteran Cruncher
United States
Joined: Apr 29, 2007
Post Count: 1187
Status: Offline
Project Badges:
Reply to this Post  Reply with Quote 
Re: Results Status - Small issue in list of pages

Now could you explain to me why it behaves differently when I click on "First" or on "Last", with the same amount of pages (9)?

The reason is that the server is running through different branches of code based on the different variations described above. It may not work the way it should, but it is not going to rise to a high level of priority since nothing is "broke" (irritating - yes).

Cheers coffee
----------------------------------------

[Dec 17, 2016 7:51:46 AM]   Link   Report threatening or abusive post: please login first  Go to top 
[ Jump to Last Post ]
Post new Thread