[Zope] Custom sorting
Bjørge Solli
Bjørge Solli
Tue, 16 Jul 2002 15:53:17 +0200 (CEST)
I want to make users who upload some files, arange the order of the files
themselves. I plan on doing this by adding a property to each file named
'sortorder'(int). And then order on this property. I think this is a bad
solution, since it means when a user wants to insert a file as #2, I have
to update all the other files who has sortorder>=2. So is there another
way of doing this?
regards
Bjorge Solli
--
http://www.lstud.ii.uib.no/~s0182/smile/Smiles
--
Bjørge Solli - Universitas Bergensis, Norway
mailto:Bjorge@Kvarteret.no icq#29210281 MSN:bobelloco@hotmail.com
Møllendalsv.19, 5009 Bergen, Norway tel:55202853/91614343