There may be an update on this that i missed, but can I ask if this fix is sufficient?
I believe that the ret parameter is the effected row count, correct? If you just deleted the record, can you reliably retrieve it from the table and record id in ondelete, i.e. before a subsequent commit? My *small* test say it doesn't work. Is there a way to get the record itself instead? Or am i missing this somewhere? Thanks On Oct 27, 6:46 pm, Massimo Di Pierro <massimo.dipie...@gmail.com> wrote: > fixed > > On Oct 26, 4:54 pm, Bob St John <bobinco...@gmail.com> wrote: > > > > > > > > > using 1.99.2 > > > in gluon.sqlhtml.SQLFORM.grid: > > > line 1489: returnondelete(table,request.args[-2],ret) > > > I think it should be: returnondelete(table,request.args[-1],ret) > > > As it is now,ondeletegets (table, table, ret), whereas I believe it > > should get (table, record_id, ret) to work properly... > > > I like thisgridmethod!