Just tried now, and it works perfectly! really many thanks for the support!!
Didn't know that db().select(...) construction is discouraged. Marvi 2017-10-02 16:21 GMT+02:00 Anthony <abasta...@gmail.com>: > On Monday, September 11, 2017 at 5:43:30 AM UTC-4, Marvix wrote: >> >> Found that was already discussed some years ago, but I think isn't >> resolved >> >> >> https://groups.google.com/forum/#!topic/web2py/WY2U54uoTno >> > > That was a separate issue. In this case, the problem is that you have not > specified any query involving the db.ivrs table, so its common filter does > not get applied. Change your query to: > > ivrs = db(db.ivrs).select(...) > > In previous versions of the DAL, db().select() worked as expected, but > that construction is discouraged now, and in some cases leads to incorrect > behavior (e.g., with common filters). > > We should probably simply no longer allow db() without a query, as an > exception would be better than silent data corruption (or at least disallow > it when common filters are present). > > Feel free to report an issue in the pydal repository and link back to this > thread. > > Anthony > > -- > 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. > For more options, visit https://groups.google.com/d/optout. > -- 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. For more options, visit https://groups.google.com/d/optout.