-
Notifications
You must be signed in to change notification settings - Fork 288
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
Library Search : New event for list of providers, adjusted filter. #2386
Library Search : New event for list of providers, adjusted filter. #2386
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have one comment.
Also I think Mauro might want to pull this into his work so that we PR these at the same time (as these changes will break the UI)
lib/Controller/Library.php
Outdated
} | ||
} else { | ||
// Dispatch event to get Providers and their details. | ||
$eventList = new LibraryProviderListEvent(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we need to do this? I think we ought to be able to just dispatch the LibraryProviderEvent
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hmm, yeah I suppose we could just dispatch the LibraryProviderEvent
with the provider 🤔
I'm not entirely sure why did this like that, let me remove the other event and some stuff
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Updated, Removed the providersList event and the foreach/if, as we indeed don't need to do that there I don't think
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Approved, please check with Mauro before merging in case he wants to pull it in first.
Merged as a part of this PR - #2398 |
provider
filter to expectlocal
,pixabay
etc