Bug 5892 - Browsing small genre list doesn't report "n of n" count
: Browsing small genre list doesn't report "n of n" count
Status: RESOLVED WONTFIX
Product: Logitech Media Server
Classification: Unclassified
Component: Web Interface
: 7.0
: PC Windows XP
: P2 minor (vote)
: ---
Assigned To: Unassigned bug - please assign me!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2007-10-23 16:05 UTC by Philip Meyer
Modified: 2007-11-21 09:51 UTC (History)
0 users

See Also:
Category: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Philip Meyer 2007-10-23 16:05:34 UTC
If I browse a genre that has a lot of artists, the webUI reports the list over several pages; and there is a "n to n of n" count on each page.

However, if I browse a genre that has only a single page worth of artists, the webUI doesn't include the "n to n of n" counts.
Comment 1 Chris Owens 2007-10-24 08:15:00 UTC
How big an inconvenience is this?  Are you mainly interested in having the total displayed?  I don't specifically recall this issue, but this sounds like it was probably an intentional change rather than a bug.
Comment 2 KDF 2007-10-24 22:31:28 UTC
It is as intended.  the code below does the page bar info mentioned here.  if "hasPagebar" then it's shown.  If not, then it's left off.  This is probably a good thing, as pageinfo is I believe left blank if there is no page info to calculate;  usually anything that adds calc time is avoided when not needed. 

<div id="browsedbHeader">
	[% IF artwork != 1 %]
		[% IF hasPagebar %][% "ITEMS" | string %] [% pageinfo.startitem + 1 %] [% "TO" | string %] [% pageinfo.enditem + 1 %] [% "OF" | string %] [% pageinfo.totalitems %][% END %]
	[% END %]
	[% IF warn %]<p>[% PROCESS scanwarning %] [% END %]

	[% IF hasPagebar %][% PROCESS pagebar %][% END %]
</div>

Comment 3 Philip Meyer 2007-10-25 00:50:23 UTC
Not an inconvenience, but would be nice to know the total.

When browsing using the player UI, you always see the total.  In general, the WebUI gives more info than the PlayerUI, except in this instance where it provides less.
Comment 4 Andy Grundman 2007-11-21 09:51:20 UTC
This is by design, marking won't fix.