Commit dd1039c7 authored by Nigel McNie's avatar Nigel McNie
Browse files

Use a limit of 10 items per 'page' for artefact choosers, now the pagination is known to work

parent 1b8afbb6
......@@ -94,7 +94,7 @@ class PluginBlocktypeBlog extends PluginBlocktype {
'required' => true,
),
'blocktype' => 'blog',
'limit' => 2,
'limit' => 10,
'selectone' => true,
'artefacttypes' => array('blog'),
'template' => 'artefact:blog:artefactchooser-element.tpl',
......
......@@ -92,7 +92,7 @@ class PluginBlocktypeBlogpost extends PluginBlocktype {
'required' => true,
),
'blocktype' => 'blogpost',
'limit' => 2,
'limit' => 10,
'selectone' => true,
'artefacttypes' => array('blogpost'),
'template' => 'artefact:blog:artefactchooser-element.tpl',
......
......@@ -92,7 +92,7 @@ class PluginBlocktypeRecentposts extends PluginBlocktype {
'required' => true,
),
'blocktype' => 'recentposts',
'limit' => 5,
'limit' => 10,
'selectone' => false,
'artefacttypes' => array('blog'),
'template' => 'artefact:blog:artefactchooser-element.tpl',
......
......@@ -109,7 +109,7 @@ class PluginBlocktypeFiledownload extends PluginBlocktype {
'required' => true,
),
'blocktype' => 'filedownload',
'limit' => 5,
'limit' => 10,
'selectone' => false,
'artefacttypes' => array('file', 'image', 'profileicon'),
'template' => 'artefact:file:artefactchooser-element.tpl',
......
......@@ -116,7 +116,7 @@ class PluginBlocktypeImage extends PluginBlocktype {
'required' => true,
),
'blocktype' => 'image',
'limit' => 5,
'limit' => 10,
'artefacttypes' => array('image', 'profileicon'),
'template' => 'artefact:file:artefactchooser-element.tpl',
);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment