noosfero | PGSearch plugin: find_by_contents breaks search for other plugin models (#415)

Gabriel Silva gitlab at mg.gitlab.com
Wed Oct 30 00:40:25 BRST 2019



Gabriel Silva created an issue: https://gitlab.com/noosfero/noosfero/issues/415



When PGSearch is active and we have another plugin that runs `find_by_contents` over a plugin specific model, it will break because the plugin models do not have the PGSearch scopes. We need to find a way to (1) not call PGSearch for models that do not have the scope or (2) make PGSearch add its scopes via some hotspot or some module in the core, so the other plugins can re-use it.

-- 
Reply to this email directly or view it on GitLab: https://gitlab.com/noosfero/noosfero/issues/415
You're receiving this email because of your account on gitlab.com.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listas.softwarelivre.org/pipermail/noosfero-dev/attachments/20191030/5d49d2e5/attachment.html>


More information about the Noosfero-dev mailing list