[mythtv-commits] Ticket #3801: Don't search for empty strings in mythweb

MythTV mythtv at cvs.mythtv.org
Mon Nov 12 00:31:43 UTC 2007


#3801: Don't search for empty strings in mythweb
--------------------------------------------+-------------------------------
 Reporter:  Hadley Rich <hads at nice.net.nz>  |        Owner:  kormoc  
     Type:  patch                           |       Status:  assigned
 Priority:  minor                           |    Milestone:  unknown 
Component:  mythweb                         |      Version:  head    
 Severity:  medium                          |   Resolution:          
  Mlocked:  0                               |  
--------------------------------------------+-------------------------------

Comment(by Hadley Rich <hads at nice.net.nz>):

 Looking at it again, it's a bad fix, as it breaks the advanced search
 entirely. $_SESSION['search']['s'] only appears to be set for a quick
 search, we would need to test for $_SESSION['search']['as'] to catch the
 advanced searches.

 FWIW though, shouldn't you be able to search for everything by using %
 instead of an empty string? It's not particularly pretty but it should
 work.

 hads

-- 
Ticket URL: <http://svn.mythtv.org/trac/ticket/3801#comment:4>
MythTV <http://svn.mythtv.org/trac>
MythTV


More information about the mythtv-commits mailing list