Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG  Not logged in ELOG logo
icon5.gif   sort attributs, posted by deletoille on Wed Mar 14 11:55:54 2007 elog14_03.jpg
    icon2.gif   Re: sort attributs, posted by Stefan Ritt on Wed Mar 14 12:06:20 2007 
       icon2.gif   Re: sort attributs, posted by deletoille on Wed Mar 21 16:51:14 2007 summary.JPGthreaded.JPG
          icon2.gif   Re: sort attributs, posted by Stefan Ritt on Wed Apr 25 20:29:39 2007 threaded.gifsummary.gif
Message ID: 2166     Entry time: Wed Mar 14 12:06:20 2007     In reply to: 2165     Reply to this: 2174
Icon: Reply  Author: Stefan Ritt  Author Email: stefan.ritt@psi.ch 
Category: Question  OS: Linux | Windows  ELOG Version: 6.4-1802 
Subject: Re: sort attributs 

deletoille wrote:

For 1 event, I need the date and the hour of this one. An event can be enter in elog several days after this one. The problem is that I do not manage to carry out one sorts on these two attibuts. I tested the order “? rsort” but this one works only on one entry not out of 2 at the same time (? rsort=Heure+evenement, Date+evenement&mode=threaded)
have an easy way?


Yepp. Since you can only sort on a single attribute, you combine time and date into one. This can be done like following:
Attributes = Icone, Type def fiche, ..., Evenement
Type Evenement = datetime

Now you can not only sort on Evenement, but you get also a date picker for that attribute in the entry form. To format the way Evenement is displayed, use the Time format option.
ELOG V3.1.5-fe60aaf