Hi,
I' am trying to get a drop-down list for search, sorted by descending order:
=
pgsql://zemacau:z53498k@10.27.2.24/pmapper
the "sort" parameter is not used for options and DB connection type, but
as you already noticed, it's also not needed since one can easily define
the sort/order directly via the SQL definition.
armin
On 29/10/15 15:42, jose mvm wrote:
> Hi,
>
> I' am trying to get a drop-down list for search,
Thanks Armin!
Yes, it's possible to define the sort/order via the SQL definition in the
search.xml file, like:
SELECT DISTINCT proc_ano, proc_ano FROM p_obra WHERE proc_ano IS NOT
NULL ORDER BY proc_ano DESC
However the result is not reflected in the drop-down list.
This means that's not