Bugzilla – Bug 5892
Browsing small genre list doesn't report "n of n" count
Last modified: 2007-11-21 09:51:20 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.
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.
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>
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.
This is by design, marking won't fix.