By yigitsayan on
Hi Guys,
I want to change the pagination of the drupal admin panel taxonomy term list page. In panel when i display the term datas if it is more than 100, automatically a pagination appears how can i configure it and remove it?
Thank you
Comments
Pagination established by taxonomy_terms_per_page_admin variable
I found that the limit per page is set by a variable in the taxonomy module. There's a call to get the value on Line 262 of taxonomy.admin.inc:
$page_increment = variable_get('taxonomy_terms_per_page_admin', 100); // Number of terms per page.But unless I'm overlooking something, it's never actually SET in the code, and it's not configurable. So it always hits the default. This caused me some problems because I wanted to do some custom sorting of one of our taxonomy term lists, but finding it impossible when the list is paginated. Every time I save the order, the weights are reset. So there's no way to move items between pages, for example.
The simple workaround in my case was to set this default a bit higher, allowing the whole list to display on one page. Obviously I don't want to be changing anything in core, but I haven't found a more straightforward fix yet.
Very critical issue
I'm in the same situation. I have 8 pages of terms and I have terms on the 3rd page that I want to bring to first page. Not possible without this hack of showing them all on one page by setting the limit way too high.
Please allow the items per page to by dynamic this way I can bring the term to the top of the page, set the items per page higher and this will bring the term to the bottom of the previous page...and so on
keep jumping until I reach the page I want. And maybe include a "Show All" option.
Same problem over here
Same problem. Subscribing
It's not the size of the hump, it's the movement of the camel that's important...
Drush works
This is easy to set with drush. For instance, to set number of items per page to 500:
drush vset taxonomy_terms_per_page_admin 500Perfect!
We need a "thumbs up" button! Thank you very much for this.
For those still looking for a
For those still looking for a solution as I was:
You can
where 1000 is the number of terms to show before the next page...
With commerce Kickstart 2.09
With commerce Kickstart 2.09
After set -> taxonomy_terms_per_page_admin to 1000
I have this error and i have 300 term.
Notice : Undefined index: tid:27:0 dans taxonomy_overview_terms() (ligne 352 dans /home/cafe/public_html/modules/taxonomy/taxonomy.admin.inc).
Notice : Undefined index: tid:30:0 dans taxonomy_overview_terms() (ligne 352 dans /home/cafe/public_html/modules/taxonomy/taxonomy.admin.inc).
Notice : Undefined index: tid:211:0 dans taxonomy_overview_terms() (ligne 352 dans /home/cafe/public_html/modules/taxonomy/taxonomy.admin.inc).
Notice : Undefined index: tid:319:0 dans taxonomy_overview_terms() (ligne 352 dans /home/cafe/public_html/modules/taxonomy/taxonomy.admin.inc).
Notice : Undefined index: tid:167:0 dans taxonomy_overview_terms() (ligne 352 dans /home/cafe/public_html/modules/taxonomy/taxonomy.admin.inc).
etc.....
etc.....
etc.....
etc.....
For hook_menu
For hook_menu
And form
Drupal 8 version?
Does anyone have an idea of how this is accomplished in Drupal 8 with Drush 8 and 9? I'm getting command not found.
drush config:set taxonomy
Removed pagination from taxonomy page
Attaching the patch for drupal 8.4. It removes the pagination from taxonomy in backend.