kanban records per page
This commit is contained in:
@@ -51,6 +51,7 @@ return [
|
||||
'recordsPerPage' => 20,
|
||||
'recordsPerPageSmall' => 5,
|
||||
'recordsPerPageSelect' => 10,
|
||||
'recordsPerPageKanban' => 5,
|
||||
'applicationName' => 'EspoCRM',
|
||||
'version' => '@@version',
|
||||
'timeZone' => 'UTC',
|
||||
|
||||
@@ -29,6 +29,7 @@
|
||||
"recordsPerPage": "Records Per Page",
|
||||
"recordsPerPageSmall": "Records Per Page (Small)",
|
||||
"recordsPerPageSelect": "Records Per Page (Select)",
|
||||
"recordsPerPageKanban": "Records Per Page (Kanban)",
|
||||
"tabList": "Tab List",
|
||||
"quickCreateList": "Quick Create List",
|
||||
"exportDelimiter": "Export Delimiter",
|
||||
@@ -213,6 +214,7 @@
|
||||
"recordsPerPage": "Number of records initially displayed in list views.",
|
||||
"recordsPerPageSmall": "Number of records initially displayed in relationship panels.",
|
||||
"recordsPerPageSelect": "Number of records initially displayed when selecting records.",
|
||||
"recordsPerPageKanban": "Number of records initially displayed in kanban columns.",
|
||||
"outboundEmailIsShared": "Allow users to send emails from this address.",
|
||||
"followCreatedEntities": "Users will automatically follow records they created.",
|
||||
"emailMessageMaxSize": "All inbound emails exceeding a specified size will be fetched w/o body and attachments.",
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
{
|
||||
"rows": [
|
||||
[{"name": "recordsPerPage"}, {"name": "recordsPerPageSelect"}],
|
||||
[{"name": "recordsPerPageSmall"}, false],
|
||||
[{"name": "recordsPerPageSmall"}, {"name": "recordsPerPageKanban"}],
|
||||
[{"name": "displayListViewRecordCount"}, false]
|
||||
]
|
||||
},
|
||||
|
||||
@@ -30,6 +30,13 @@
|
||||
"required": true,
|
||||
"tooltip": true
|
||||
},
|
||||
"recordsPerPageKanban": {
|
||||
"type": "int",
|
||||
"min": 1,
|
||||
"max": 100,
|
||||
"required": true,
|
||||
"tooltip": true
|
||||
},
|
||||
"timeZone": {
|
||||
"type": "enum",
|
||||
"default": "UTC",
|
||||
|
||||
@@ -407,7 +407,7 @@ function (Dep, /** typeof module:search-manager.Class */SearchManager) {
|
||||
*/
|
||||
setViewModeKanban: function () {
|
||||
this.collection.url = 'Kanban/' + this.scope;
|
||||
this.collection.maxSize = this.getConfig().get('recordsPerPageSmall');
|
||||
this.collection.maxSize = this.getConfig().get('recordsPerPageKanban');
|
||||
this.collection.resetOrderToDefault();
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user