Bug 1993 - Browse By Year display blank for all items
: Browse By Year display blank for all items
Status: RESOLVED FIXED
Product: Logitech Media Server
Classification: Unclassified
Component: Player UI
: 6.2.0
: PC All
: P2 normal (vote)
: ---
Assigned To: Dan Sully
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2005-08-18 13:35 UTC by KDF
Modified: 2008-09-15 14:37 UTC (History)
1 user (show)

See Also:
Category: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description KDF 2005-08-18 13:35:55 UTC
Problem is in BrowseDB::BrowsedbItemName.  Line 379 uses the test !ref($item),
which is valid for teting against id's in order to convert to objects.  However,
years are not ID's and dont' need to be converted to objects.  since this is one
special case, simplest way is to patch line 379 to read:

	if (!ref($item) && $levels[$level] ne 'year') {

This is similar to what was done in change 3848 to allow browse by year in the
player UI in the first place.
Comment 1 sbjaerum 2005-08-18 14:04:05 UTC
The patch fixes my problem, thanks.
Comment 2 KDF 2005-08-18 19:14:51 UTC
committed to trunk at change 3998
Comment 3 Chris Owens 2006-06-16 14:41:25 UTC
There are 536 bugs in the database with targets of '---' that were fixed prior to new year 2006.  I am setting them to targets of 6.2.1 to keep them from showing up in my queries.