Projekt

Obecné

Profil

« Předchozí | Další » 

Revize 766

Přidáno uživatelem Michal Kliment před více než 13 roky(ů)

Opravena chyba Řazení kreditních účtů dle zůstatku: Unknow Error, viz http://vyuka.slfree.net/mod/forum/discuss.php?d=1443

Zobrazit rozdíly:

freenetis/trunk/kohana/application/controllers/accounts.php
'selector_increace' => 500, // increace
'selector_min' => 500, // minimum where selector start
'selector_max_multiplier' => 10,
'base_url' => Config::get('lang').'/accounts/show_all/'.$limit_results.'/'.$order_by.'/'.$order_by_direction ,
'base_url' => Config::get('lang').'/accounts/show_all/'.$group.'/'.$limit_results.'/'.$order_by.'/'.$order_by_direction ,
'uri_segment' => 'page', // pass a string as uri_segment to trigger former 'label' functionality
'total_items' => $total_accounts, // use db count query here of course
'items_per_page' => $limit_results, // it may be handy to set defaults for stuff like this in config/pagination.php
......
'order_by_direction' => $order_by_direction,
'limit_results' => $limit_results,
'query_string' => $query_string,
'filter' => $filter->view
'filter' => $filter->view,
'variables' => $group.'/',
'url_array_ofset' => 1
));
foreach($arr_groups as $key=>$arr_group)
$grid->add_new_button(url_lang::base().'accounts/show_all/'.$key, $arr_group);

Také k dispozici: Unified diff