Actions
Bug #2062
closedNumber of search results in data panel doesn't match the real result
Start date:
04/13/2005
Due date:
% Done:
0%
Estimated time:
Bugzilla-Id:
2062
Description
When user tried to search "species" and get 5 results, but the number in the
bottom show is 6. Then search "datos" and get 1 result, but the label in the
bottom shows 7.
Updated by Jing Tao over 19 years ago
In QuickSearchAction class, new code was added to set variable - number of hits,
to 0 after a search.
There is another reseaon that the label doesn't match the real hits:
If there is a dot in the result record title, when user use the reult record
which the title contains a dot to create a ptolemy named object, it will cause a
error and the result record couldn't be shown in the table panel. But the number
of hits includes the record. So the label of hits number doesn't match the real
hits in dataset panel. I added a funtion to replace the dot by dash, then it works.
Actions