-
-
Notifications
You must be signed in to change notification settings - Fork 729
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
View producer certifications #12237
Comments
Edit: Let me try another way with a custom implementation on front-end side. We may want to rethink this later if ~10x more producers enter the ring. Edit 2 : Looks good. Forget about what I said at first. While it's a bit tricky, my custom implementation does the trick for your use case without any modification on your api model. I'll aim to deliver it today. |
Looks like you've been doing wonderful things @JbPasquier , that I don't quite understand, but thank you! This is close: missing Source field, link to download doc and 'read more' NB. Source is now working for the other evidence (yay) - spacing a bit funny? |
I'm fixing the missing source for certification. @mkllnk Can you point me which fields I should add? I'm currently displaying:
Am I missing some others? |
@mkllnk and @mariocarabotta are going to check the data for these fields @JbPasquier Once this is done, can we also apply this logic to how the Supporting Evidence filter works on the Producer list? This would clean up the problems we are having in a range of other issues |
No, the way I implemented it here works because there is really only a small amount of data. It's just one producer's data. The main issue here is the complexity of the data: filtering many certifications within many supporting evidence within many producers (within many products on the other list), combined with an 'and/or' filter. Maybe we can think of some data adaptation. @mkllnk would it be complex for you to pre-calculate all of this and add three fields directly on a producer/products with all its relevant Moving this discussion on the proper issue, there: openfoodfoundation/sib-discovery-components#20 (comment) |
ah ok, we'll chat here and get back to you
…On Wed, 20 Mar 2024 at 20:55, Jean-Baptiste Pasquier < ***@***.***> wrote:
Supporting Evidence filter works on the Producer list?
No, the way I implemented it here works because there is really only a
small amount of data. It's just one producer's data.
If this custom implementation were to filter the entire list of producers,
it would take a really long time to filter anything.
The main issue here is the complexity of the data: filtering many
certifications within many supporting evidence within many producers
(within many products on the other list), combined with an 'and/or' filter.
Maybe we can think of some data adaptation. @mkllnk
<https://github.com/mkllnk> would it be complex for you to pre-calculate
all of this and add three fields directly on a producer/products with all
its relevant Supporting Evidence, Assurance Partners and Certifications
filters? The same way you did ofn:Produce_category?
—
Reply to this email directly, view it on GitHub
<#12237 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAWGXSHJKMECL5VWY22WQALYZFMIXAVCNFSM6AAAAABEI355RSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMBZGE3DGOJVGE>
.
You are receiving this because you were assigned.Message ID:
***@***.***>
|
OK, this one is CLOSED |
Kirsten has added a certification to Pukawidgee, has been confirmed, so there is now test data
The text was updated successfully, but these errors were encountered: