I have some old code that uses a custom search function in a sqlform.grid - 
something along the lines:

def process_filtered(sfields, keywords):
search_query = SQLFORM.build_query(sfields, keywords)
[...]
return search_query

grid = SQLFORM.grid(db.doc_scan_details, searchable=process_filtered)

It used to work fine on older versions of web2py, but when I updated to 
2.18.5 it does not work anymore - i.e., the search function does not seem 
to be called. Why?

-- 
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/480314c1-06f6-4882-aa55-616fa4b31e48%40googlegroups.com.

Reply via email to