Bug 4947 - Search does not search '0'
: Search does not search '0'
Status: CLOSED FIXED
Product: Logitech Media Server
Classification: Unclassified
Component: Web Interface
: 6.5b2
: PC Linux (other)
: P2 normal (vote)
: ---
Assigned To: KDF
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2007-04-28 07:58 UTC by Peter Marquardt
Modified: 2008-12-18 11:12 UTC (History)
0 users

See Also:
Category: ---


Attachments
patch Slim::Web::Pages:.Search to honor "0" in searches (994 bytes, patch)
2007-04-28 08:00 UTC, Peter Marquardt
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Peter Marquardt 2007-04-28 07:58:08 UTC
related bug: https://bugs-archive.lyrion.org/show_bug.cgi?id=4940

based upon: slimserver 6.5.2 svn revision 11851

how to reproduce:  Enter '0' in "Search Music". Any other Number works fine.

fix: 
-       my $query  = $params->{'query'}  || '';
+       my $query  = defined($params->{'query'}) ? $params->{'query'} : '';

patch attached.
Comment 1 Peter Marquardt 2007-04-28 08:00:49 UTC
Created attachment 1921 [details]
patch Slim::Web::Pages:.Search to honor "0" in searches

since this is related to a known issue, I'm trying to hunt them down.
Comment 2 KDF 2007-04-30 17:53:44 UTC
committed to trunk at change 11865 for 7.0 only.
please reopen if issues remain.
Comment 3 Chris Owens 2008-03-07 09:05:07 UTC
This bug is being closed since it was resolved for a version which is now released!  Please download the new version of SqueezeCenter (formerly SlimServer) at http://www.slimdevices.com/su_downloads.html

If you are still seeing this bug, please re-open it and we will consider it for a future release.