Number of search results in data panel doesn't match the real result
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.
#1 Updated by Jing Tao over 14 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.