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