]> git.phdru.name Git - m_librarian.git/blobdiff - m_librarian/web/app.py
Feat(web): Preserve values in form
[m_librarian.git] / m_librarian / web / app.py
index e4677d317f10e7b6cb9204766b30500c2ba7b51e..638f1528e3826c41e102d164d4aa4ac7d8789aa1 100644 (file)
@@ -52,4 +52,9 @@ def search_authors_post():
     open_db()
     authors = search_authors(search_type, case_sensitive, {}, expressions,
                              orderBy=('surname', 'name', 'misc_name'))
-    return {'authors': list(authors)}
+    return {
+        'authors': list(authors),
+        'search_authors': value,
+        'search_type': search_type,
+        'case_sensitive': case_sensitive,
+    }