Project

General

Profile

Actions

feature request #7771

open

Format Misapplication search results as MAN, not as accepted taxa

Added by Andreas Müller almost 6 years ago. Updated about 1 month ago.

Status:
Feedback
Priority:
New
Category:
cdm-dataportal
Target version:
Start date:
Due date:
% Done:

50%

Estimated time:
Severity:
normal

Description

If a search result contains a misapplication only as a taxon related to an accepted taxon in the search filter it should be formatted accordingly.

E.g. a MAN should be formatted as "Genus species auct./sensu non Author" without nom. ref.

But: if the MAN is found as an accepted taxon of an other classification (included in the search filter) oder of NO classification (and no classification filter exists) then it might be formatted as accepted taxon.

To be discussed: should such a taxon be included twice in the result, once as MAN and again as accepted? This might be a requirement as the underlying link will lead to different taxon pages. Alternatively we could handle this by opening a subrequest to decide if this taxon should be opened as MAN or as accepted taxon. Same as we should do for pro parte Synonyms asking which accepted taxon to open (currently disabled I think) and as we did some time ago for ordinary synonyms as long as they could still link to multiple accepted taxa.

(TODO: link to tickets for reactiving multiple links for pp Synonyms and maybe other tickets; decide if this is a data portal or a cdmlib-remote ticket or both)


Files

Screenshot 2024-03-06 091403.png (15.3 KB) Screenshot 2024-03-06 091403.png Katja Luther, 03/06/2024 09:14 AM

Related issues

Related to EDIT - bug #7766: Remaining issues for using relationship DTO webservice in portal ClosedAndreas Kohlbecker

Actions
Related to EDIT - bug #8620: Improve pro parte synonym search result for dataportalNewKatja Luther

Actions
Related to EDIT - bug #10472: Improve simple search performance in dataportalResolvedAndreas Müller

Actions
Related to EDIT - feature request #7501: Deduplicate MANs and pro parte synonyms in portal resultsClosedKatja Luther

Actions
Has duplicate EDIT - bug #8303: Improve formatting for misapplied names in search resultsDuplicate

Actions
Actions #1

Updated by Andreas Müller almost 6 years ago

  • Related to bug #7766: Remaining issues for using relationship DTO webservice in portal added
Actions #2

Updated by Andreas Müller over 5 years ago

  • Subject changed from Format Misapplication search results as MAN, non as accepted taxa to Format Misapplication search results as MAN, not as accepted taxa
Actions #3

Updated by Katja Luther 5 months ago

  • Category changed from cdmlib-remote to cdm-dataportal
  • Assignee changed from Andreas Müller to Katja Luther
  • Target version changed from Unassigned CDM tickets to Release 5.47
Actions #4

Updated by Katja Luther 5 months ago

  • Related to bug #8620: Improve pro parte synonym search result for dataportal added
Actions #5

Updated by Katja Luther 5 months ago

The implementation looks like this now, the symbol of the TaxonRelationshipType is changed from ⸺ to "misapplied name for ", this need an update script for the release.

Actions #6

Updated by Katja Luther 5 months ago

  • Related to bug #8303: Improve formatting for misapplied names in search results added
Actions #7

Updated by Katja Luther 4 months ago

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

The text for the cache/taggedText comes now from the AbbrevLabel of the selected representation. If no abbrev label exists the symbol is used. Please review, if this implementation is ok. I will adapt this in the cichorieae db on test for the review, the abbrev label for pro parte misapplied is already p.p.MAN, we should decide whether we want to use misapplied or MAN. I think we should use "misapplied for" respectively "p.p. misapplied for"

Actions #8

Updated by Andreas Müller 4 months ago

Example:

https://test.e-taxonomy.eu/dataportal/preview/cichorieae/cdm_dataportal/search/results/taxon?ws=portal%2Ftaxon%2FfindDto&query=Hieracium+gomben*&form_build_id=form-YlMcNzz6JEmzUBuJvxOkC0DDZZ2IIJ7IGW_6acxTmwQ&form_id=cdm_dataportal_search_taxon_form&search%5BdoTaxaByCommonNames%5D=1&search%5BdoMisappliedNames%5D=1&search%5BdoSynonyms%5D=1&search%5BdoTaxa%5D=1&search%5BpageSize%5D=25&search%5BpageIndex%5D=0

Open issue:

  • remove err. sec. from result
  • allow configuration if sec. of accepted taxon should be shown (does not make sense in a single classification environment)
  • check if ",non xxx" is shown or make it configurable to show
  • show "sensu" (as in TaxEditor search) or make it configurable to show it
  • discuss, how to handle names with multiple sensu information on the same taxon page (e.g. Xxxx yyy sensu Aaaa 2009, sensu Bbbb 2010, sensu Cccc 2011). Should these be multiple entries in the search or a single one
Actions #9

Updated by Andreas Müller 4 months ago

  • Status changed from Resolved to Feedback
  • Assignee changed from Andreas Müller to Katja Luther
  • % Done changed from 0 to 50
Actions #10

Updated by Andreas Müller about 2 months ago

  • Related to deleted (bug #8303: Improve formatting for misapplied names in search results)
Actions #11

Updated by Andreas Müller about 2 months ago

  • Has duplicate bug #8303: Improve formatting for misapplied names in search results added
Actions #12

Updated by Katja Luther about 2 months ago

  • Related to bug #10472: Improve simple search performance in dataportal added
Actions #13

Updated by Katja Luther about 2 months ago

Actions #14

Updated by Andreas Müller about 1 month ago

  • Target version changed from Release 5.47 to Release 5.43
Actions #15

Updated by Katja Luther about 1 month ago

  • Assignee changed from Katja Luther to Andreas Müller

The remaining issues should be handled in a follow up ticket because therefore we need to restructure the render template, currently all taxa lists are handled the same because there is only one render template for list of taxa. If we want to create a new one only for the search, we have to update all portals.

Actions #16

Updated by Andreas Müller about 1 month ago

Update script:

UPDATE DefinedTermBase SET symbol = 'misapplied for'       WHERE  uuid = '1ed87175-59dd-437e-959e-0d71583d8417';   # MAN
UPDATE DefinedTermBase SET symbol = 'p.p. misapplied for'  WHERE  uuid = 'b59b4bd2-11ff-45d1-bae2-146efdeee206';   # p.p. MAN
UPDATE DefinedTermBase SET symbol = 'part. for'            WHERE  uuid = '859fb615-b0e8-440b-866e-8a19f493cd36';   # partial MAN
UPDATE DefinedTermBase SET symbol = 'p.p. for'             WHERE  uuid = '8a896603-0fa3-44c6-9cd7-df2d8792e577';   # p.p. Synonym
UPDATE DefinedTermBase SET symbol = 'part. misapplied for' WHERE  uuid = '9d7a5e56-973c-474c-b6c3-a1cb00833a3c';   # partial Synonym

SELECT dtb.id, dtb.uuid, dtb.titleCache, dtb.idInVocabulary, dtb.symbol, dtb.inverseSymbol, dtb.symbol2, r.label, r.abbreviatedlabel
FROM DefinedTermBase dtb INNER JOIN DefinedTermBase_Representation MN ON MN.DefinedTermBase_id = dtb.id 
INNER JOIN Representation r ON r.id = MN.representations_id
WHERE dtb.DTYPE LIKE 'T%Rel%' AND (titleCache LIKE '%pro pa%' OR titleCache LIKE '%mis%' OR titleCache LIKE '%partial%')
Actions #17

Updated by Andreas Müller about 1 month ago

We need a follow up ticket only for the update script for the next release.

Actions #18

Updated by Andreas Müller about 1 month ago

Also update values in csv files

Actions

Also available in: Atom PDF