CMS MADE SIMPLE FORGE

LISE

 

[#11858] Search error when trying filtering fields with search_*

avatar
Created By: Mich-adg (Mich)
Date Submitted: Tue Jul 10 03:09:39 -0400 2018

Assigned To:
Version: 1.3.1
CMSMS Version: 2.2.5
Severity: None
Resolution: Invalid
State: Closed
Summary:
Search error when trying filtering fields with search_*
Detailed Description:
Hi,

i'm not able to use search_*="FieldAlias"

Syntax error in template "content:content:content_en"  on line 7 "

{LISEMymod action="search" search_*="Metier"}

"  - Unexpected "="

Thx.


History

Comments
avatar
Date: 2018-07-10 10:17
Posted By: Fernando Morgado (JoMorg)

You are misinterpreting the documentation. The proper use is search_* =
$somevalue where * should be replaced by the alias of an existing field
(otherwise it will be ignored) and $somevalue can be either a hard coded value
or as in the example a variable.
As per your attempt: {LISEMymod action="search" search_metier=$someMetier} or
eventually, depending on the field alias beng capitalized or not, {LISEMymod
action="search" search_Metier=$someMetier}.
      
Updates

Updated: 2020-10-01 08:21
state: Open => Closed

Updated: 2018-07-10 10:17
resolution_id: => 9
severity_id: 2 => 12