Re: Meteserve

Brian Kelley <[email protected]>
Newsgroups gmane.comp.db.metakit
Message-ID <[email protected]>
I found the bug.  For some reason, I had thought the signature was
vw.sort([prop]) but that is really only for sortrev which I tend to
use exclusively.  You can fix this by replacing the def sort(...)
command in server.py with the following

    def sort(self, prop):
        """return a sorted view"""
        return self.storage._vwrap(self.vw.sort(prop.get))
    
Enjoy!  Let me know other bugs that you encounter.  As a fyi, we are
(slowly) revamping the client/server interface to make it faster, but
don't hold your breath too much :)

I have a whole bunch of code that I have been promising to deliver any
time now that supplies a modern gui interface to metakit databases,
fixing bugs gets me one step closer.

Brian
_____________________________________________
Metakit mailing list  -  [email protected]
http://www.equi4.com/mailman/listinfo/metakit
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.