Skip to content

Subject: Issue with Taxonomy Section in "Resource List" Module #396

@luger95

Description

@luger95

Hello,

I am encountering difficulties using the Taxonomy section of the "Resource List" module. I need to perform an OR search, but the system returns an AND search instead.

Example: I want to filter my records on two fields (name and Keywords) and allow the user to enter as many words as they want, separated by a comma.
The result is partially correct:

WHERE ressources.`types` != ? AND 
(  LOWER(CAST(ressources.`keywords` AS CHAR)) REGEXP LOWER(?)
	AND  LOWER(CAST(ressources.`keywords` AS CHAR)) REGEXP LOWER(?)
) 
	AND -- <--- WHY ? ----
(  LOWER(CAST(ressources.`name` AS CHAR)) REGEXP LOWER(?)
	AND  LOWER(CAST(ressources.`name` AS CHAR)) REGEXP LOWER(?) 
)

I would like these two filters to be linked by an OR, but the module generates an AND. However, I have used the "OR" action button in the taxonomy section.

Is there a bug, or am I misunderstanding how to use the module's configuration?

Thank you in advance.

Articles Liste des ressources Éléments de contenu Éditer

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions