You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Following up #7, I was having a look at how to change the order of the public stream and couldn't figure it out. @jmwohl could you help, please?
I want to create an order that shows artworks without preview images last and then orders by either creation date or user likes (through a switch in the UI).
I thought it should be enough to modify the filter object of this line:
… but the corresponding article in the Loopback doc doesn't show how to use computed properties, which I think we would need for the thumbnail order thumb_url !== ''. It also doesn't explain how to aggregate data, which we need for the user likes as they are stored in the user channels.
Following up #7, I was having a look at how to change the order of the public stream and couldn't figure it out. @jmwohl could you help, please?
I want to create an order that shows artworks without preview images last and then orders by either creation date or user likes (through a switch in the UI).
I thought it should be enough to modify the filter object of this line:
Openframe-WebApp/src/actions/artwork/fetchStreamRequest.js
Line 15 in 042d035
… but the corresponding article in the Loopback doc doesn't show how to use computed properties, which I think we would need for the thumbnail order
thumb_url !== ''
. It also doesn't explain how to aggregate data, which we need for the user likes as they are stored in the user channels.I found this answer on Stackoverflow mentioning Loopback Operation hooks. It appears to me that those are part of the API server and can't be used in the API client. Is that right?
Thanks.
The text was updated successfully, but these errors were encountered: