dalenguyen / firebase-wordpress-plugin

A plugin that helps to integrate Firebase to WordPress
https://firebase-wordpress-docs.readthedocs.io
GNU General Public License v2.0
110 stars 31 forks source link

Allow us to search for content in a collection from data in another collection. #68

Closed mcollinar closed 2 years ago

mcollinar commented 4 years ago

Is your feature request related to a problem? Please describe. Allow us to search for content in a collection from data in another collection.

For example:

I am logged in with user 1 in the Users table (with the data User code and email, for example) and when clicking the button open a collection where the field to be searched for is the email.

Describe the solution you'd like A clear and concise description of what you want to happen.

Describe alternatives you've considered A clear and concise description of any alternative solutions or features you've considered.

Which fields does it relate to? Firebase Auth, Realtime DB, Firestore, Storage...

Additional context Add any other context or screenshots about the feature request here.

dalenguyen commented 4 years ago

Hi @mcollinar, can you give more detail on this. A drawing shows how it work will really help. Thanks,

dalenguyen commented 2 years ago

This is a tricky one. However, it can be done with a custom script.

https://firebase-wordpress-docs.readthedocs.io/en/latest/developer/add-custom-scripts.html