search for template
I have a problem. I make a search panel by template, which has two searches, one by code, which is very good and one by description, which does not work for me. I need someone to give me a solution
I have a problem. I make a search panel by template, which has two searches, one by code, which is very good and one by description, which does not work for me. I need someone to give me a solution
Please always post your code/customization for discussion.
in ListPage/CustomTemplateSearch
<style>
#btnsubmit {
position: relative;
top: -75px;
left: 470px;
}
</style>
<div class="panel panel-default" style="width:640px;">
<div class="panel-heading">CONSULTAS</div>
<div class="panel-body">
<div class="row">
<div style="padding-bottom:20px" class="col-sm-12">
<table border="0">
<tr><td> CÓDIGO: </td> <td>{{{value producto}}}</td><td> </td><td>DESCRIPCIÓN: </td> <td>{{{value descripcion}}}</td></tr>
</table>
</div>
</div>
</div>
</div>
Double check your code. Are you sure you are using "descripcion" instead of "description"?
"Descripcion" it´s the name of the attribute, the fields names will be in spanish
Make sure you have already enabled "Descripcion" field from "Fields" setup -> "List Page" -> "List", and re-generate ALL the script files again.