diff --git a/index.js b/index.js index dbcf304..d8ecf90 100644 --- a/index.js +++ b/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); diff --git a/src/search-advanced-controls.js b/src/search-advanced-controls.js index 101185f..b557d8e 100644 --- a/src/search-advanced-controls.js +++ b/src/search-advanced-controls.js @@ -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)