mirror of
https://github.com/9001/copyparty.git
synced 2025-08-17 09:02:15 -06:00
v0.11.3
This commit is contained in:
parent
2eaae2b66a
commit
49ffec5320
|
@ -1,6 +1,6 @@
|
|||
# coding: utf-8
|
||||
|
||||
VERSION = (0, 11, 2)
|
||||
VERSION = (0, 11, 3)
|
||||
CODENAME = "the grid"
|
||||
BUILD_DT = (2021, 6, 1)
|
||||
|
||||
|
|
|
@ -120,16 +120,16 @@ class U2idx(object):
|
|||
elif v == "name":
|
||||
v = "up.fn"
|
||||
|
||||
elif v == "tags":
|
||||
v = "mt.v"
|
||||
|
||||
elif ptn_mt.match(v):
|
||||
elif v == "tags" or ptn_mt.match(v):
|
||||
mt_ctr += 1
|
||||
mt_keycmp2 = "mt{}.w".format(mt_ctr)
|
||||
joins += "inner join mt mt{} on {} = {} ".format(
|
||||
mt_ctr, mt_keycmp, mt_keycmp2
|
||||
)
|
||||
v = "mt{0}.k = '{1}' and mt{0}.v".format(mt_ctr, v)
|
||||
if v == "tags":
|
||||
v = "mt{0}.v".format(mt_ctr)
|
||||
else:
|
||||
v = "mt{0}.k = '{1}' and mt{0}.v".format(mt_ctr, v)
|
||||
|
||||
else:
|
||||
raise Pebkac(400, "invalid key [" + v + "]")
|
||||
|
|
Loading…
Reference in a new issue