Bug 1966 - Browse by year in web interface is empty
: Browse by year in web interface is empty
Status: CLOSED FIXED
Product: Logitech Media Server
Classification: Unclassified
Component: Web Interface
: 6.2.0
: PC Debian Linux
: P2 normal (vote)
: ---
Assigned To: Dan Sully
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2005-08-12 09:51 UTC by Ben Sandee
Modified: 2008-12-15 11:57 UTC (History)
0 users

See Also:
Category: ---


Attachments
patch for above (456 bytes, patch)
2005-08-12 10:21 UTC, KDF
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ben Sandee 2005-08-12 09:51:31 UTC
On both the 8/11 and 8/12 nightlies the Browse By Year pages for Default and
Fishbone skins contain the right number of lines but no year text.

I'll attach a screenshot.
Comment 1 Ben Sandee 2005-08-12 09:55:21 UTC
having trouble putting up an attachment, I'll try again later if necessary
Comment 2 KDF 2005-08-12 10:18:24 UTC
no worries on the screenshot.  I can see the same, and I think I know where they
are getting blanked.

change line 1257 of Pages.pm to:
if (!ref($item) && $item =~ /^\d+$/ && $levels[$level] ne 'year') {


the Years aren't numeric id's, even though they will match the regex, so have to
specifically check that its not the year level in heirarchy.
Comment 3 KDF 2005-08-12 10:21:31 UTC
Created attachment 717 [details]
patch for above
Comment 4 Ben Sandee 2005-08-12 10:25:49 UTC
works great for me.  thanks kdf!
Comment 5 KDF 2005-08-12 11:41:27 UTC
cool beans.  I'll get it merged for the next nightly. (I realised recently that
it was really line 1242, so I'm glad you found the right line :)
Comment 6 KDF 2005-08-12 13:10:38 UTC
committed to trunk at change 3952.  Doesn't seem to apply to 6.1.x
Comment 7 James Richardson 2008-12-15 11:57:38 UTC
This bug has been fixed in the latest release of SqueezeCenter!

Please download the new version from http://www.slimdevices.com/su_downloads.html if you haven't already.  

If you are still experiencing this problem, feel free to reopen the bug with your new comments and we'll have another look.