From 3be937c503439cf0251e66b78266c3dd35e11e05 Mon Sep 17 00:00:00 2001 From: rubenwardy Date: Mon, 25 Jul 2022 18:05:14 +0100 Subject: [PATCH] Remove zipgrep min length --- app/blueprints/zipgrep/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/blueprints/zipgrep/__init__.py b/app/blueprints/zipgrep/__init__.py index df99b1ed..ebf1708f 100644 --- a/app/blueprints/zipgrep/__init__.py +++ b/app/blueprints/zipgrep/__init__.py @@ -31,7 +31,7 @@ from app.tasks.zipgrep import search_in_releases class SearchForm(FlaskForm): - query = StringField(lazy_gettext("Text to find (regex)"), [InputRequired(), Length(6, 100)]) + query = StringField(lazy_gettext("Text to find (regex)"), [InputRequired(), Length(1, 100)]) file_filter = StringField(lazy_gettext("File filter"), [InputRequired(), Length(1, 100)], default="*.lua") remember_me = BooleanField(lazy_gettext("Remember me"), default=True) submit = SubmitField(lazy_gettext("Search"))