Closed Bug 310859 Opened 19 years ago Closed 19 years ago

event list: if search/filter string appears in multiple fields, event listed multiple times.

Categories

(Calendar :: Sunbird Only, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
Sunbird 0.3

People

(Reporter: gekacheka, Assigned: mostafah)

References

Details

(Keywords: regression)

Attachments

(1 file)

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.8b4) Gecko/20050908 Firefox/1.4
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.9a1) Gecko/20051001 Mozilla Sunbird/0.2+

If search/filter string appears in multiple text fields, the event is listed
multiple times in the result list.  Regression from sunbird 0.2.

Reproducible: Always

Steps to Reproduce:
1. create event with 
   title:    meet at xyz
   location: xyz
   description: To get to xyz, go to ...
   url:  www.xyz.com
2. search/filter for events containing "xyz"


Actual Results:  
event "meet at xyz" appears multiple times

Expected Results:  
event "meet at xyz" appears once.
Requires patch to bug 310857 to search/filter multiple text fields.
Depends on: 310857
Keywords: regression
Target Milestone: --- → Sunbird 0.3
Version: unspecified → Trunk
(patch -l -p 2 -i file.patch)

changes:
1. if search string found in title, don't search other fields.
2. if search string found in other field loop, break out of loop.

now event is listed only once.
Attachment #198255 - Flags: first-review?(mvl)
Attachment #198255 - Flags: first-review?(mvl) → first-review+
checked in
Status: NEW → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: