Bug #3303

Task #2925: Add the "properties" parameter to internal links to commands

Internal links broken if the "properties" parameter is not specified

Added by Alexey Lavrentev 3 months ago. Updated 3 months ago.

Status:New Start date:10/20/2022
Priority:Normal Due date:
Assignee:- % Done:

80%

Category:- Spent time: -
Target version:Portal 0.6.3

Description

In the txm-bfm.huma-num.fr TXM portal 0.6.3 portal instance, the "properties" internal links parameter is mandatory for "Concordance", "Contexts", "Lexicon" and "Index" commands.

Example :

The following link does not work:

<a class="command" command="lexicon" path="/GRAAL">

The following link works:
<a class="command" command="lexicon" properties="word" path="/GRAAL">

Solution

  • if the "properties" parameter is absent in an internal link, the command must use the "word" word property by default (as for external links behaviour);
  • provide a way to express multiple word properties in the "properties" parameter (e.g. word property names separated by comma: "lemma,word")
    • Warning: currently a space seems to be mandatory after commas
  • the portal Admin Manual must be updated to document the "properties" parameter for internal links
  • the portal Admin Manual must be updated to document all other apparently implemented parameters (see parent ticket: nlinesperpage, contexts, references...).

History

#1 Updated by Alexey Lavrentev 3 months ago

  • Parent task set to #2925

#2 Updated by Alexey Lavrentev 3 months ago

  • Subject changed from "properties" parameter undocumented and not fully implemented to Internal links broken if the "properties" parameter is not specified
  • Description updated (diff)

#3 Updated by Serge Heiden 3 months ago

  • Description updated (diff)

#4 Updated by Matthieu Decorde 3 months ago

  • % Done changed from 0 to 80

Also available in: Atom PDF