Why does this
- *File C:\Users\Dave\web2py_src\web2py_src-2.22.5\web2py\gluon\packages\dal\pydal\adapters\base.py in _select_aux at line 865* code arguments variables Function argument list (self=<pydal.adapters.sqlite.SQLite object>, sql='SELECT "badlist"."id", "badlist"."burl", "badlis...LL)> ORDER BY "badlist"."tags", "badlist"."burl";', fields=[<pydal.objects.Field object>, <pydal.objects.Field object>, <pydal.objects.Field object>, <pydal.objects.Field object>], attributes={'orderby': <pydal.objects.Expression object>}, colnames=['badlist.id', 'badlist.burl', 'badlist.tags', 'badlist.PostDate']) - turn into this? The relevant controller code is r = db(db.badlist.PostDate != None) rows=db(r).select(orderby=db.badlist.tags|db.badlist.burl) The exception is File "C:\Users\Dave\web2py_src\web2py_src-2.22.5\web2py\gluon\packages\dal\pydal\adapters\base.py", line 468, in execute rv = self.cursor.execute(command, *args[1:], **kwargs) sqlite3.OperationalError: near "<": syntax error -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/web2py/e2be99a7-d08f-4400-a921-d195df4a71d8n%40googlegroups.com.