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