Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow setting kanban maxSize for a specific entityType #2671

Closed
SuchAFuriousDeath opened this issue Mar 20, 2023 · 2 comments
Closed

Allow setting kanban maxSize for a specific entityType #2671

SuchAFuriousDeath opened this issue Mar 20, 2023 · 2 comments

Comments

@SuchAFuriousDeath
Copy link
Contributor

Is your feature request related to a problem? Please describe.
I would like to set maxSize for a specific entity independently of the config 'recordsPerPageSmall' value.

Describe the solution you'd like
Pull the value somewhere from metadata, if it doesn't exist, fallback to the config value.

Describe alternatives you've considered
Creating a custom view and setting the value manually.

Additional context

setViewModeKanban: function () {
this.collection.url = 'Kanban/' + this.scope;
this.collection.maxSize = this.getConfig().get('recordsPerPageSmall');
this.collection.resetOrderToDefault();
},

@yurikuzn
Copy link
Contributor

I wouldn't like having a metadata parameter overriding a config parameter, at least for this particular case. I will consider a separate config parameter for all kanbans.

@rabiibrahimi
Copy link
Contributor

I have already submitted a request to add this new config parameter to specify the number of records to show on a kanban. it would be very useful and will help a lot i would appreciate if you consider to add such config parameter. #2526 (comment)

@yurikuzn yurikuzn closed this as not planned Won't fix, can't repro, duplicate, stale Mar 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants