pyneighborhood team mailing list archive
-
pyneighborhood team
-
Mailing list archive
-
Message #00283
[Bug 897041] Re: Sort list of shares within a host
Would this change in mainwindow.py be enough (like 73):
from:
shares = cur.execute("""SELECT shares.id, shares.name, shares.comment, hosts.treeview FROM shares INNER JOIN hosts ON shares.host = hosts.id WHERE shares.treeview ISNULL AND shares.validated = 0 AND hosts.treeview NOTNULL""").fetchall()
to:
shares = cur.execute("""SELECT shares.id, shares.name, shares.comment, hosts.treeview FROM shares INNER JOIN hosts ON shares.host = hosts.id WHERE shares.treeview ISNULL AND shares.validated = 0 AND hosts.treeview NOTNULL ORDER BY UPPER(shares.name)""").fetchall()
Regards,
MV
--
You received this bug notification because you are a member of
pyNeighborhood, which is subscribed to pyneighborhood.
https://bugs.launchpad.net/bugs/897041
Title:
Sort list of shares within a host
Status in pyNeighborhood:
New
Bug description:
List of shares returned by smbclient may be unsorted. Make
pyNeighborhood sort the share list for easier browsing.
To manage notifications about this bug go to:
https://bugs.launchpad.net/pyneighborhood/+bug/897041/+subscriptions
References