magento - How to link to a custom grid with pre-applied filters? -


i'm developing module uses custom model create grid.

the model has field 'username' & generated hyperlink grid predefined username filtered, i.e displaying entries username matt.

i've can't think of example whereby /core developers along these lines , looking @ url on admin page after applying filter in username column, see session jargon:

/index.php/admin/bookouts/index/key/4ed130b406cd65dc43dd190bb5ae35ec/filter/ym9va291df9kyxrljtvcznjvbsu1rd0wncuyrja5jtjgmjaxmyzib29rb3v0x2rhdgulnuj0byu1rd0wncuyrja5jtjgmjaxmyzib29rb3v0x2rhdgulnujsb2nhbgulnuq9zw5fr0i=/form_key/bquuqbb4miqqa0hu/

would appreciate input.

that not 'seesion jargon'. it's filter values encoded base64_encode. can generate url this:

$filter = 'username=jack'; $filter = base64_encode($filter) $url = mage::helper('adminhtml')->geturl('adminhtml/bookouts/index', array('filter'=>$filter)); 

Comments

Popular posts from this blog

html - How to style widget with post count different than without post count -

How to remove text and logo OR add Overflow on Android ActionBar using AppCompat on API 8? -

javascript - storing input from prompt in array and displaying the array -