Project

General

Profile

Actions

Bug #3345

closed

searching produces wrong and inconsistent results

Added by Matt Jones over 16 years ago. Updated about 16 years ago.

Status:
Resolved
Priority:
Normal
Category:
client
Target version:
Start date:
05/30/2008
Due date:
% Done:

0%

Estimated time:
Bugzilla-Id:
3345

Description

When searching locally for a data package from the search dialog, I get inconsistent results. In my morpho I have 2 assessments, one with title 'Midterm 1' and one with title 'Midterm 3'. When I search, I get odd results:

Search term Search results/ expected results
----------- -------------
blank Both packages returned/ both
'Midterm 1' 0 results/ one package
'Midterm 3' 0 results/ one package
'Midterm' 0 results /both
'M' Both packages returned/ both

To fix this, actual results should match expected.

Actions #1

Updated by ben leinfelder about 16 years ago

turns out we aren't searching element attributes.
the Assessment Title is currently stored in assessment/@title (i.e. <assessment title="Midterm 1" />)

Actions #2

Updated by ben leinfelder about 16 years ago

changed the EDML schema to use elements rather than attributes. Now the search will work as expected

Actions #3

Updated by Redmine Admin over 11 years ago

Original Bugzilla ID was 3345

Actions

Also available in: Atom PDF