Mercurial > libervia-backend
diff sat_frontends/jp/cmd_pubsub.py @ 2761:4b693ea24d5f
jp (base, pubsub, ticket): handle order-by:
--order-by has been added to pubsub group.
New getPubsubExtra helper method generate extra dict according to arguments.
getPubsubExtra is used for pubsub/get, blog/get and and ticket/get.
author | Goffi <goffi@goffi.org> |
---|---|
date | Sun, 06 Jan 2019 17:39:57 +0100 |
parents | 56f94936df1e |
children | 92af49cde255 |
line wrap: on
line diff
--- a/sat_frontends/jp/cmd_pubsub.py Sun Jan 06 17:36:51 2019 +0100 +++ b/sat_frontends/jp/cmd_pubsub.py Sun Jan 06 17:39:57 2019 +0100 @@ -760,7 +760,7 @@ self.args.max, self.args.items, self.args.sub_id, - {}, + self.getPubsubExtra(), self.profile, callback=self.psItemsGetCb, errback=self.psItemsGetEb, @@ -1217,7 +1217,7 @@ self.args.max, items, "", - {}, + self.getPubsubExtra(), self.profile, callback=search, errback=errback,