From 9ee7f2eee907d0d073097ae3c0112b8b24419730 Mon Sep 17 00:00:00 2001 From: Frederick Muriuki Muriithi Date: Mon, 17 Feb 2025 17:26:39 -0600 Subject: Select from searchable list and allow new species creation. Select the species to use from a searchable list. In case the species does not exist in the list, allow creation of the list. --- uploader/phenotypes/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'uploader/phenotypes') diff --git a/uploader/phenotypes/views.py b/uploader/phenotypes/views.py index ddec54c..e0ce521 100644 --- a/uploader/phenotypes/views.py +++ b/uploader/phenotypes/views.py @@ -62,7 +62,7 @@ def index(): with database_connection(app.config["SQL_URI"]) as conn: if not bool(request.args.get("species_id")): return render_template("phenotypes/index.html", - species=order_by_family(all_species(conn)), + species=all_species(conn), activelink="phenotypes") species = species_by_id(conn, request.args.get("species_id")) -- cgit v1.2.3