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 smile

-- 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
 

QuestionForm edit

Subject Topic Markup Language and applications
Extension
Version
Status Answered
Related Topics
Topic revision: r3 - 11 Sep 2018, SebbSebastian
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy