in fact, i faced 2 issues with GridView widget so far. i’ve created filter model for my AR class via Gii.
- it sends in URL all filter parameters + it adds model name! What a f…?
How can i remove model name from URL and don’t post get empty filter parameters.
example (after url decode)
how it is
SOMEWEB/web/default/?BooksSearch[updated_date]=&BooksSearch[favorite]=&BooksSearch[title]=zzzzzzzzz&BooksSearch[isbn13]=&BooksSearch[read]=&BooksSearch[year]=&BooksSearch[ext]=
how i want
SOMEWEB/web/default/?title=zzzzzzzzz
- sorting doesn’t show up. i set twitter bootstrap, this grid has default tb markup, but sortinig some how uses wrong (.asc and .desc are used). i want to add to sorted column’s header next code
<div class="glyphicon glyphicon-triangle-top"></div>
how can i do it?
regards