This question about Topic Markup Language and applications: Answered
Hey guys,
I'm new here and I have a question. I alredy looked through google and the
FAQs and many many foswiki howto pages, but i was not successful.
What I want to do is to get only the last item of a search list. I found out that I can limit the output to one but I always get the first item.
Is it possible to change the "direction" of the order= tag?
This is the relevant part of my search code:
%SEARCH{ "KK.*?value=\".*2018.*\"" type="regex" scope="text" excludetopic="Web*" regex="on" nosearch="on" nototal="off" order="formfield(Inv.Nr.)" limit="1"
Maybe there is a completely different possibility to get the last item if the list? I'd appreciate any help
--
SebbSebastian - 31 Aug 2018
Try
reverse="on"
... more at
System.VarSEARCH
--
MichaelDaum - 31 Aug 2018
nice! that's what I was looking for!
--
SebbSebastian - 11 Sep 2018