.
This commit is contained in:
parent
dc575dd468
commit
1bf3af5949
@ -76,6 +76,10 @@ export default (sequelize: Sequelize) => {
|
||||
|
||||
whereMergeStrategy: "and", // <- cómo tratar el merge de un scope
|
||||
|
||||
defaultScope: {
|
||||
order: [["description", "ASC"]],
|
||||
},
|
||||
|
||||
scopes: {
|
||||
quickSearch(value) {
|
||||
return {
|
||||
|
||||
@ -4,4 +4,4 @@ export const INITIAL_PAGE_SIZE = 10;
|
||||
export const MIN_PAGE_INDEX = 0;
|
||||
export const MIN_PAGE_SIZE = 1;
|
||||
|
||||
export const MAX_PAGE_SIZE = 100; //Number.MAX_SAFE_INTEGER;
|
||||
export const MAX_PAGE_SIZE = 9999; //Number.MAX_SAFE_INTEGER;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user