исправлен кривой поиск при инициализации
This commit is contained in:
parent
b947b670b3
commit
223863191f
2
index.js
2
index.js
@ -324,7 +324,7 @@ io.on('connection', function(socket)
|
|||||||
if(navigation.files.min > 0)
|
if(navigation.files.min > 0)
|
||||||
where += ' and files > ' + mysqlPool.escape(navigation.files.min) + ' ';
|
where += ' and files > ' + mysqlPool.escape(navigation.files.min) + ' ';
|
||||||
}
|
}
|
||||||
console.log(where)
|
console.log(navigation, where)
|
||||||
|
|
||||||
let searchList = [];
|
let searchList = [];
|
||||||
//args.splice(orderBy && orderBy.length > 0 ? 1 : 0, 1);
|
//args.splice(orderBy && orderBy.length > 0 ? 1 : 0, 1);
|
||||||
|
@ -10,11 +10,11 @@ export default class AdvancedSearchControl extends Component {
|
|||||||
super(props)
|
super(props)
|
||||||
this.state = {
|
this.state = {
|
||||||
type: undefined,
|
type: undefined,
|
||||||
size: {min: 0, max: 500 * 1024},
|
size: {min: 0, max: 0},
|
||||||
maxSize: 1024 * 1024,
|
maxSize: 1024 * 1024 * 1024,
|
||||||
sizeEnabled: false,
|
sizeEnabled: false,
|
||||||
filesEnabled: false,
|
filesEnabled: false,
|
||||||
files: {min: 0, max: 5},
|
files: {min: 0, max: 0},
|
||||||
filesMax: 100,
|
filesMax: 100,
|
||||||
}
|
}
|
||||||
if(this.props.state)
|
if(this.props.state)
|
||||||
|
Loading…
Reference in New Issue
Block a user