From a85b77b4bcb2ba2f295d2cc125dac816df8193d3 Mon Sep 17 00:00:00 2001 From: Thomas Zarebczan Date: Sun, 9 Jun 2019 16:10:33 -0400 Subject: [PATCH] fix: 0.38 claim search changes --- dist/bundle.es.js | 3 ++- dist/bundle.js | 3 ++- src/redux/actions/subscriptions.js | 3 ++- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/dist/bundle.es.js b/dist/bundle.es.js index 6cbd8da..c28750d 100644 --- a/dist/bundle.es.js +++ b/dist/bundle.es.js @@ -1559,7 +1559,8 @@ const doCheckSubscription = (subscriptionUri, shouldNotify) => (dispatch, getSta channel_name: subscriptionUri, page: 1, page_size: PAGE_SIZE, - winning: true + is_controlling: true, + order_by: ['release_time'] }).then(result => { const { items: claimsInChannel diff --git a/dist/bundle.js b/dist/bundle.js index ce7d3fa..c04ec8a 100644 --- a/dist/bundle.js +++ b/dist/bundle.js @@ -2554,7 +2554,8 @@ var doCheckSubscription = function doCheckSubscription(subscriptionUri, shouldNo channel_name: subscriptionUri, page: 1, page_size: constants_claim__WEBPACK_IMPORTED_MODULE_0__["PAGE_SIZE"], - winning: true + is_controlling: true, + order_by: ['release_time'] }).then(function (result) { var claimsInChannel = result.items; // may happen if subscribed to an abandoned channel or an empty channel diff --git a/src/redux/actions/subscriptions.js b/src/redux/actions/subscriptions.js index 9984f60..114927d 100644 --- a/src/redux/actions/subscriptions.js +++ b/src/redux/actions/subscriptions.js @@ -161,7 +161,8 @@ export const doCheckSubscription = (subscriptionUri: string, shouldNotify?: bool channel_name: subscriptionUri, page: 1, page_size: PAGE_SIZE, - winning: true, + is_controlling: true, + order_by: ['release_time'], }).then(result => { const { items: claimsInChannel } = result;