Is whoosh is supported in DAL. Any example? Or have a js that create SQLFORM.search like SQLFOrM.smartgrid? Searching is important
Omg, this is exactly what I was looking for. Sooo spooky
Can u fix smart_query for me? Lol
It gives a run time error on line 110 when I try to pass the variable like u mentioned; list_of_searchble_field =[db.table.field]. It says "field must b a list of fields". I tried to pass it like a set too. Didnt work. I m not the best python guy yet:(. Unfortunately. Matlab I could fix this in 5 min.
I think the issue is with the line isinstance (field, Field). When I pass the field.it is a gluon.dal.objects.Field n u r comparing that with pydal.object.Field. I m not sure but its failing both if and else. So it goes to raise. Lol
I did what u told me. I have "from pydal.helpers.methods import smart_query" in my default.py
In my db.py I have "from gluon.tools import*". Thats the issue?