[Git][noosfero/noosfero][master] 2 commits: Using correct params

Rodrigo Souto gitlab at mg.gitlab.com
Thu Oct 18 11:38:42 BRT 2018


Rodrigo Souto pushed to branch master at Noosfero / noosfero


Commits:
50d8feb5 by Alax Alves at 2018-10-17T18:58:56Z
Using correct params

- - - - -
cdf2e6e3 by Rodrigo Souto at 2018-10-18T14:38:39Z
Merge branch 'issue-6996-more-active-filter' into 'master'

Fixing more_active filter

See merge request noosfero/noosfero!1629
- - - - -


1 changed file:

- app/helpers/application_helper.rb


Changes:

=====================================
app/helpers/application_helper.rb
=====================================
@@ -838,18 +838,18 @@ module ApplicationHelper
   def search_people_options
     host = environment.default_hostname
     [
-      (link_to s_('people|More recent'), controller: 'search', action: 'people', filter: 'more_recent'),
-      (link_to s_('people|More active'), controller: 'search', action: 'people', filter: 'more_active'),
-      (link_to s_('people|More popular'), controller: 'search', action: 'people', filter: 'more_popular')
+      (link_to s_('people|More recent'), controller: 'search', action: 'people', order: 'more_recent'),
+      (link_to s_('people|More active'), controller: 'search', action: 'people', order: 'more_active'),
+      (link_to s_('people|More popular'), controller: 'search', action: 'people', order: 'more_popular')
     ]
   end
 
   def search_community_options
     host = environment.default_hostname
     [
-      (link_to s_('communities|More recent'), controller: 'search', action: 'communities', filter: 'more_recent'),
-      (link_to s_('communities|More active'), controller: 'search', action: 'communities', filter: 'more_active'),
-      (link_to s_('communities|More popular'), controller: 'search', action: 'communities', filter: 'more_popular')
+      (link_to s_('communities|More recent'), controller: 'search', action: 'communities', order: 'more_recent'),
+      (link_to s_('communities|More active'), controller: 'search', action: 'communities', order: 'more_active'),
+      (link_to s_('communities|More popular'), controller: 'search', action: 'communities', order: 'more_popular')
     ]
   end
 



View it on GitLab: https://gitlab.com/noosfero/noosfero/compare/7a3c641c6553ad69866fd58c7ff4a0d15ca19f77...cdf2e6e3240f3dd78577298b663868a8583086df

-- 
View it on GitLab: https://gitlab.com/noosfero/noosfero/compare/7a3c641c6553ad69866fd58c7ff4a0d15ca19f77...cdf2e6e3240f3dd78577298b663868a8583086df
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/20181018/40e47cff/attachment-0001.html>


More information about the Noosfero-dev mailing list