The same table, the same SQLFORM.grid. Just a different query using the
query option in the grid:

When searching in the field 'title' the grid produces shows the result and
clicking on export produces a result.  The same url in both cases:

*
http://localhost:8000/akb/doccenter/browse?keywords=akb_doccenter.title+contains+%22women%22
*

Just changing the field in the same query to 'keywords' in stead of 'title'
produces the following url for the grid:

*
http://localhost:8000/akb/doccenter/browse?keywords=akb_doccenter.keywords+contains+%22women%22
*
So far so good and everything works as expected.  But when I click on
'export' in the last grid the url changes to:
*
http://localhost:8000/akb/doccenter/browse/csv?keywords=akb_doccenter.keywords+contains+%22women%22&_signature=c1e28eba26383a4f79a94ccbcc2f97e5ab7004a7
*

and on the screen:

*400 BAD REQUEST
*
I have updated my version of web2py from the trunk this morning but it is
the same on an older version.

Questions:

*  Why does the url differs that much when I try and export the two queries?
*  Why does not the first url (when I searched 'title') show a csv?keywords?
* Why the addition of the signature on the last url and not on the first
two?

Regards
Johann

-- 
Because experiencing your loyal love is better than life itself,
my lips will praise you.  (Psalm 63:3)

Reply via email to