Skip to content

Commit

Permalink
disable course name filter and latest projects carousel
Browse files Browse the repository at this point in the history
  • Loading branch information
bromagosa committed Mar 8, 2024
1 parent 568635e commit b8d80f7
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
5 changes: 3 additions & 2 deletions controllers/project.lua
Original file line number Diff line number Diff line change
Expand Up @@ -100,8 +100,9 @@ ProjectController = {
self,
[[WHERE ispublished AND NOT EXISTS(
SELECT 1 FROM deleted_users WHERE
username = active_projects.username LIMIT 1)]] ..
db.interpolate_query(course_name_filter())
username = active_projects.username LIMIT 1)]] --[[..
db.interpolate_query(course_name_filter()) ]]--
-- Disable course name filter because of high DB use
)
end),
my_projects = capture_errors(function (self)
Expand Down
3 changes: 3 additions & 0 deletions views/index.etlua
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,8 @@ end


-- Show latest projects next
-- Disabled for now because of too high DB use
--[[
render(
'views.carousel',
{
Expand All @@ -102,6 +104,7 @@ render(
href = 'explore'
}
)
]]--
%>

<a href="/collections" class="pure-button"
Expand Down

0 comments on commit b8d80f7

Please sign in to comment.