|
Victor Ryabinin |
Wrong "More on Sale" values for yuletide items, as example kanaria.rmrk.app/catalogue/10631611-e0b9bdcc456a36497a-EVNTS-YLTD21-00001368
it shows all the yuletide items, not only "Santa Hat".
I think you should use the same filter as for "GetTotalSupply" because it works well
Activity Newest / Oldest
Victor Ryabinin
Thank you very much!
RMRK Team
Please check if this shows correctly now
RMRK Team
Status changed to: Live
RMRK Team
Status changed to: In progress
Max Stürzer
fix it
Victor Ryabinin
I've checked graphl requests and GetTotalSupply works well for Yuletide Items, because it supports filtering by metadata_image:
json_data = {
'operationName': 'GetTotalSupply',
'variables': {
'metadata_image': 'ipfs://ipfs/QmbKQaLAyXB8xV8bnnmskVCLPMs36yRso23xWzpwgHyPui/xmas21_reindeersleigh_foreground_thumb.png',
},
'query': 'query GetTotalSupply($metadata_image: String!) {n nfts_aggregate(n where: {metadata_image: {_eq: $metadata_image}, burned: {_eq: ""}}n ) {n aggregate {n countn __typenamen }n __typenamen }n}n',
}
So, I'd suggest to add metadata_image field for MoreOnSale operation
michael newman
Sounds good