Pagination manual override in model returns 0 items - Joomla! Forum - community, help and support


iam developing component , after debugging while found strange phenomen. in frontend can set pagination limit see defined limit of items. looks fine @ first seight.

because of getting clearer, had rewrite problem, becaue not legacy model previous thought.

i manual override of pagination in model. done function 'getpagination'. values of form eg. $limit = jrequest::getvar('limit', 0 , '', 'init'). when set pagination limit in frontend eg 5, $limit = 5 , work. when switch in frontend pagination next site, $limit 0 (the frontend pagination limit shows all) , problem come up: limitstart = 5 , listlimit = 0, results in returning 0 items.

what's wrong here? can help?

joomla version 3.3.6






Comments

Popular posts from this blog

Warning, the Safe Path is not accessible vm3 - Joomla! Forum - community, help and support

2.5.28 to 3.4.1---Download of update package failed - Joomla! Forum - community, help and support

Your host needs to use PHP 5.3.10 or higher to run this vers - Joomla! Forum - community, help and support