21310 Posts in 5739 Topics by 2604 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 1044 Views |
-
ModelAdmin Limiting the search results

4 December 2009 at 9:19pm
is there any way of limiting the number of results displayed on the CTF in ModelAdmin to 1-10 .... 11-21. currently its just display all my search from 1 to 40 and only 1 to 13 a visible
tx
P
-
Re: ModelAdmin Limiting the search results

2 February 2010 at 5:33pm
*bump* I would also like to know how to change how many results are shown in the CTF before it begins paging, also while your there how do you make the header fields sortable (onclick)?
-
Re: ModelAdmin Limiting the search results

11 March 2011 at 11:12am
bump! you guys make any further progress with this?
-
Re: ModelAdmin Limiting the search results

11 March 2011 at 3:30pm
In your ModelAdmin class add
public static $page_length = 10;
I just found that in ModelAdmin::getResultsTable(), tried on my 2.4.5 install and it worked fine
-
Re: ModelAdmin Limiting the search results

12 March 2011 at 6:36am
My problem was the pagination wasnt kicking in.
But I realise this is an issue with the PanelModelAdmin I am using. -
Re: ModelAdmin Limiting the search results

26 March 2011 at 8:24am
This should work in panelmodeladmin the same as in
Modeladmin....
| 1044 Views | ||
|
Page:
1
|
Go to Top |





