kopia lustrzana https://github.com/simonw/datasette
Fixed bug on Row page with tables containing spaces
We were attempting to run this SQL: select * from "Order%20Details" where ... On this page: http://0.0.0.0:8877/northwind-40d049b/Order%20Details/10250,41pull/81/head
rodzic
1592fd0419
commit
2c625e31ed
|
@ -259,6 +259,7 @@ class RowView(BaseView):
|
|||
|
||||
def data(self, request, name, hash, table, pk_path):
|
||||
conn = get_conn(name)
|
||||
table = urllib.parse.unquote_plus(table)
|
||||
pk_values = compound_pks_from_path(pk_path)
|
||||
pks = pks_for_table(conn, table)
|
||||
wheres = [
|
||||
|
|
Ładowanie…
Reference in New Issue