[Git][noosfero/noosfero][master] products: hotspots: add and fix default values

Bráulio Bhavamitra gitlab at mg.gitlab.com
Fri Mar 17 18:54:14 BRT 2017


Bráulio Bhavamitra pushed to branch master at Noosfero / noosfero


Commits:
ac31d1b9 by Braulio Bhavamitra at 2017-03-17T18:51:57-03:00
products: hotspots: add and fix default values

- - - - -


1 changed file:

- lib/noosfero/plugin.rb


Changes:

=====================================
lib/noosfero/plugin.rb
=====================================
--- a/lib/noosfero/plugin.rb
+++ b/lib/noosfero/plugin.rb
@@ -587,10 +587,11 @@ class Noosfero::Plugin
   end
 
   def autocomplete asset, scope, query, paginate_options={:page => 1}, options={:field => 'name'}
-    {}
+    nil
   end
 
   def catalog_autocomplete_item_extras product
+    nil
   end
 
   def search_order asset



View it on GitLab: https://gitlab.com/noosfero/noosfero/commit/ac31d1b9a57745f9825ab423477257040f75ed16
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listas.softwarelivre.org/pipermail/noosfero-dev/attachments/20170317/3b4e51ea/attachment.html>


More information about the Noosfero-dev mailing list