AgileVentures / sing_for_needs

Prototype
4 stars 12 forks source link

Limit Trending Causes and Causes Ending Soon to 2 Records #106

Closed aonomike closed 5 years ago

aonomike commented 5 years ago

Expected Behavior

The number of causes returned for both Trending Causes and Campaigns Ending soon should be limited to 2 records.

Current Behavior

All records for existing causes are returned.

Possible Solution

Add limit: 2 argument to the gql dataloader resolver

Possible Implementation

Add args as part of causes query and have the front pass limit it to 2