|
@@ -9,6 +9,8 @@ class ReportProfile extends App.ControllerSubContent
|
|
|
id: @id
|
|
|
genericObject: 'ReportProfile'
|
|
|
defaultSortBy: 'name'
|
|
|
+ searchBar: true
|
|
|
+ searchQuery: @search_query
|
|
|
pageData:
|
|
|
home: 'report_profiles'
|
|
|
object: __('Report Profile')
|
|
@@ -16,7 +18,7 @@ class ReportProfile extends App.ControllerSubContent
|
|
|
pagerAjax: true
|
|
|
pagerBaseUrl: '#manage/report_profiles/'
|
|
|
pagerSelected: ( @page || 1 )
|
|
|
- pagerPerPage: 150
|
|
|
+ pagerPerPage: 50
|
|
|
navupdate: '#report_profiles'
|
|
|
buttons: [
|
|
|
{ name: __('New Profile'), 'data-type': 'new', class: 'btn--success' }
|
|
@@ -30,6 +32,6 @@ class ReportProfile extends App.ControllerSubContent
|
|
|
if key isnt 'el' && key isnt 'shown' && key isnt 'match'
|
|
|
@[key] = value
|
|
|
|
|
|
- @genericController.paginate( @page || 1 )
|
|
|
+ @genericController.paginate(@page || 1, params)
|
|
|
|
|
|
App.Config.set('ReportProfile', { prio: 8000, name: __('Report Profiles'), parent: '#manage', target: '#manage/report_profiles', controller: ReportProfile, permission: ['admin.report_profile'] }, 'NavBarAdmin')
|