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: 2174     Entry time: Wed Mar 21 16:51:14 2007     In reply to: 2166     Reply to this: 2217
Icon: Reply  Author: deletoille  Author Email: xavier.deletoille@synchrotron-soleil.fr 
Category: Question  OS: Linux | Windows  ELOG Version: 6.4-1802 
Subject: Re: sort attributs 

Stefan Ritt wrote:

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.


thanks, It works but the order "?sort" seems to works only in summary view (attachment 1) and not in threaded (attachement 2) view.
Any idea?
Attachment 1: summary.JPG  198 kB  | Hide | Hide all
summary.JPG
Attachment 2: threaded.JPG  215 kB  | Hide | Hide all
threaded.JPG
ELOG V3.1.5-fe60aaf