community-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From humbed...@apache.org
Subject svn commit: r1729987 - /comdev/helpwanted.apache.org/site/admin/newtask.lua
Date Fri, 12 Feb 2016 11:08:02 GMT
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",



Mime
View raw message