You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@community.apache.org by hu...@apache.org on 2016/02/12 12:08:02 UTC

svn commit: r1729987 - /comdev/helpwanted.apache.org/site/admin/newtask.lua

Author: humbedooh
Date: Fri Feb 12 11:08:02 2016
New Revision: 1729987

URL: http://svn.apache.org/viewvc?rev=1729987&view=rev
Log:
allow for tags

Modified:
    comdev/helpwanted.apache.org/site/admin/newtask.lua

Modified: comdev/helpwanted.apache.org/site/admin/newtask.lua
URL: http://svn.apache.org/viewvc/comdev/helpwanted.apache.org/site/admin/newtask.lua?rev=1729987&r1=1729986&r2=1729987&view=diff
==============================================================================
--- comdev/helpwanted.apache.org/site/admin/newtask.lua (original)
+++ comdev/helpwanted.apache.org/site/admin/newtask.lua Fri Feb 12 11:08:02 2016
@@ -36,7 +36,7 @@ function handle(r)
     local url = r:escape_html(post.url or "")
     local curl = r:escape_html(post.curl or "")
     local collab = (post.collaboration and post.collaboration == 'yes') and true or false
-    
+    local tag = r:escape_html(post.tag or "")
     
     if project and #project > 2 and typ and title and lingos and difficulty and desc then
         elastic.index(r, nil, 'item', JSON.encode{
@@ -48,6 +48,7 @@ function handle(r)
             description = desc,
             url = url,
             curl = curl,
+            tag = tag,
             collaboration = collab,
             created = os.time(),
             author = r.user or "unknown",