From 2c4fde4321da5f95acf9b43652f22504fbc9718d Mon Sep 17 00:00:00 2001 From: Sean Yesmunt Date: Thu, 4 Oct 2018 00:55:30 -0400 Subject: [PATCH 1/2] change channel page amount to 48 --- src/renderer/redux/actions/content.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/renderer/redux/actions/content.js b/src/renderer/redux/actions/content.js index 208fc3879..071db143f 100644 --- a/src/renderer/redux/actions/content.js +++ b/src/renderer/redux/actions/content.js @@ -6,7 +6,6 @@ import { doNavigate } from 'redux/actions/navigation'; import { setSubscriptionLatest, setSubscriptionNotification, - setSubscriptionNotifications, } from 'redux/actions/subscriptions'; import { selectNotifications } from 'redux/selectors/subscriptions'; import { selectBadgeNumber } from 'redux/selectors/app'; @@ -360,13 +359,13 @@ export function doPurchaseUri(uri, specificCostInfo, shouldRecordViewEvent) { } export function doFetchClaimsByChannel(uri, page) { - return (dispatch, getState) => { + return dispatch => { dispatch({ type: ACTIONS.FETCH_CHANNEL_CLAIMS_STARTED, data: { uri, page }, }); - Lbry.claim_list_by_channel({ uri, page: page || 1 }).then(result => { + Lbry.claim_list_by_channel({ uri, page: page || 1, page_size: 48 }).then(result => { const claimResult = result[uri] || {}; const { claims_in_channel: claimsInChannel, returned_page: returnedPage } = claimResult; From 7b83d51683b4bc9d68ce0d2e75d6e7ed22e233fc Mon Sep 17 00:00:00 2001 From: Sean Yesmunt Date: Thu, 4 Oct 2018 02:03:11 -0400 Subject: [PATCH 2/2] update changelog --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index bc69a40bb..7280a4b8e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,6 +10,7 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/). ### Changed * Make tooltip smarter ([#1979](https://github.com/lbryio/lbry-desktop/pull/1979)) +* Change channel pages to have 48 items instead of 10 ([#2002](https://github.com/lbryio/lbry-desktop/pull/2002)) ### Fixed * Invite table cutoff with large number of invites ([#1985](https://github.com/lbryio/lbry-desktop/pull/1985))