0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-17 23:44:39 -05:00

Refined tiers filter on member detail screen

refs https://github.com/TryGhost/Team/issues/1029

- updates label for tier filter
- moves tier filter to subscription group
This commit is contained in:
Rishabh 2022-03-07 17:37:50 +05:30
parent 70158d41e9
commit 3c497bfc95
2 changed files with 2 additions and 2 deletions

View file

@ -13,12 +13,12 @@ const FILTER_PROPERTIES = [
// {label: 'Email', name: 'email', group: 'Basic'},
// {label: 'Location', name: 'location', group: 'Basic'},
{label: 'Label', name: 'label', group: 'Basic'},
{label: 'Tiers', name: 'product', group: 'Basic', feature: 'multipleProducts'},
{label: 'Newsletter subscription', name: 'subscribed', group: 'Basic'},
{label: 'Last seen', name: 'last_seen_at', group: 'Basic', valueType: 'date', feature: 'membersLastSeenFilter'},
{label: 'Created', name: 'created_at', group: 'Basic', valueType: 'date'},
// Member subscription
{label: 'Membership tier', name: 'product', group: 'Subscription', feature: 'multipleProducts'},
{label: 'Member status', name: 'status', group: 'Subscription'},
// {label: 'Tier', name: 'tier', group: 'Subscription'},
{label: 'Billing period', name: 'subscriptions.plan_interval', group: 'Subscription'},

View file

@ -173,7 +173,7 @@ export default class MembersController extends Controller {
'subscriptions.status': 'Subscription Status',
'subscriptions.start_date': 'Paid start date',
'subscriptions.current_period_end': 'Next billing date',
product: 'Tiers'
product: 'Membership tier'
};
return this.filterColumns.map((d) => {
return {