Project

General

Profile

feature request #9561

In name and taxon search if titleCache is protected the search should run on titleCache also

Added by Andreas Müller 7 months ago. Updated 7 months ago.

Status:
Closed
Priority:
Highest
Category:
cdmlib
Target version:
Start date:
03/26/2021
Due date:
% Done:

100%

Severity:
normal
Tags:

Description

... otherwise users may think the name does not exist yet if the nameCache is not filled correctly.

Currently names with empty nameCache can only be found in bulk editor.

The implementation may work in TaxEditor and dataportal as they seem to use the same base method.


Related issues

Related to Edit - feature request #9575: Allow flag to include authors in taxon and name search in TaxEditor Closed

Associated revisions

Revision 9bf89673 (diff)
Added by Andreas Müller 7 months ago

fix #9561 fix search searches on titleCache also if titleCache is protected

Revision 571eb9f1 (diff)
Added by Andreas Müller 7 months ago

fix #9561 make protectedTitleCache search a search with MatchMode.Beginning OR Anywhere

History

#1 Updated by Andreas Müller 7 months ago

  • Status changed from New to Resolved
  • % Done changed from 0 to 50

#2 Updated by Andreas Müller 7 months ago

  • Assignee changed from Andreas Müller to Katja Luther

Please review

#3 Updated by Katja Luther 7 months ago

  • Status changed from Resolved to Feedback
  • Assignee changed from Katja Luther to Andreas Müller

It works as expected, but searching without authors for a titlecache with authors does not match. Maybe we should add '*' for the titleCache search?

#4 Updated by Andreas Müller 7 months ago

Yes, I also thought about this but did not implement it such as I did not want to have all the subspecies in the result. But this will not really be the case if we enlarge the search only for protected title cache and therefore only those subspecies will be shown which do also have a protected title cache.
I will adapt the search this way.

#5 Updated by Andreas Müller 7 months ago

  • Status changed from Feedback to Resolved

#6 Updated by Andreas Müller 7 months ago

  • Assignee changed from Andreas Müller to Katja Luther

I adapted the search. Can you please test again. I havn't tested yet in TaxEditor, only in test class (see code).

#7 Updated by Katja Luther 7 months ago

  • Status changed from Resolved to Closed
  • Assignee changed from Katja Luther to Andreas Müller

works now as expected.

#8 Updated by Katja Luther 7 months ago

  • % Done changed from 50 to 100

#9 Updated by Andreas Müller 7 months ago

  • Related to feature request #9575: Allow flag to include authors in taxon and name search in TaxEditor added

#10 Updated by Andreas Müller 7 months ago

  • Subject changed from In name and taxon search if titleCache is protected the search should run an titleCache also to In name and taxon search if titleCache is protected the search should run on titleCache also

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 40 MB)