Fix bug 459803 - Searching with unifinder causes error output and doesn't work (regression). r=philipp
authorFred Jendrzejewski <fred.jen@web.de>
Tue, 21 Oct 2008 10:09:57 +0200
changeset 659 4515bf6e257af8c591f2dcf08c29ed5bce331f8a
parent 658 7ac0a06fb2be4b2ad9cd293571aa9d0e3691e832
child 660 643c6297dd21c7118df0e0cc93198aaa33bf2df1
push idunknown
push userunknown
push dateunknown
reviewersphilipp
bugs459803
Fix bug 459803 - Searching with unifinder causes error output and doesn't work (regression). r=philipp
calendar/base/src/calFilter.js
--- a/calendar/base/src/calFilter.js
+++ b/calendar/base/src/calFilter.js
@@ -305,19 +305,16 @@ function filterByText(aItem) {
     var searchText = document.getElementById(filterByText.mTextFilterField)
                              .value.toLowerCase();
 
     if (!searchText.length || searchText.match(/^\s*$/)) {
         return true;
     }
 
     const fieldsToSearch = ["SUMMARY", "DESCRIPTION", "LOCATION", "URL"];
-    if (!fixAlldayDates(aItem)) {
-        return false;
-    }
 
     for each (var field in fieldsToSearch) {
         var val = aItem.getProperty(field);
         if (val && val.toLowerCase().indexOf(searchText) != -1) {
             return true;
         }
     }