[web2py] Re: Sort multiple tables

2016-07-03 Thread pbt
@pbreit I found the mistake. I wrote string instead of integer for rent and size. Thank you for helping. On Monday, July 4, 2016 at 9:56:18 AM UTC+5:30, pbt wrote: > > @pbreit > I tried your code,it did not work.It works for sorting by location. > In models > db.define_table('listspace', > Fie

[web2py] Re: Sort multiple tables

2016-07-03 Thread pbt
@pbreit I tried your code,it did not work.It works for sorting by location. In models db.define_table('listspace', Field('warehouse_location','string'), Field('warehouse_totalsize','string'), Field('contract_rent','string')) In controller def GetAllApprovedWarehouses(): print request.va

[web2py] Re: Sort multiple tables

2016-07-03 Thread pbt
In models,I have only 1 table.By multiple tables,I mean multiple tables in view.I found a jquery plugin for sorting data in a single table.That is why I wrote multiple tables so that no one will suggest jquery plugin for that. I tried your code but it is not working. Can you please tell if I have

[web2py] Re: Sort multiple tables

2016-07-03 Thread pbt
@pbreit In models,I have only 1 table.By multiple tables,I mean multiple tables in view.I found a jquery plugin for sorting data in a single table.That is why I wrote multiple tables so that no one will suggest jquery plugin for that. -- Resources: - http://web2py.com - http://web2py.com/book

[web2py] Re: Sort multiple tables

2016-07-03 Thread pbt
In models,I have only 1 table.By multiple tables,I mean multiple tables in view.I found a jquery plugin for sorting data in a single table.That is why I wrote multiple tables so that no one will suggest jquery plugin for that. -- Resources: - http://web2py.com - http://web2py.com/book (Document

[web2py] Re: Sort multiple tables

2016-07-03 Thread pbreit
We might need to see some of your code, specifically your models. Why do you have multiple tables? I could see you having one table called "property" such as: db.define_table('property', Field('location'), Field('size'), Field('rent')) And then in your controller: def search(): if requ

[web2py] Segfault/Selenium/Web2py/Permissions

2016-07-03 Thread Mark Billion
I have a script that posts data to a third party form via PhantomJS. It runs just fine on selenium in the python shell and when I run it in the W2P shell (python web2py.py -S *app* -M). The problem is that when I call it from the controller via a click, I get this traceback. I am assuming tha