Skip to content
Snippets Groups Projects
Commit 84bb22a9 authored by Oliwer Mattsson's avatar Oliwer Mattsson :headphones:
Browse files

Lade till ny data till data.json

parent 2dcbdb75
No related branches found
No related tags found
No related merge requests found
...@@ -44,7 +44,7 @@ ...@@ -44,7 +44,7 @@
"start_date": "2009-09-08", "start_date": "2009-09-08",
"short_description": "A keygen for spotify. A break from the ads!", "short_description": "A keygen for spotify. A break from the ads!",
"course_name": "OK\u00c4NT", "course_name": "OK\u00c4NT",
"long_description": "This program generates product-keys for spotify to emancipate the music starved mob from ad tyrrany!", "long_description": "This program generates product-keys for spotify to emancipate the music starved mob from ad tyranny!",
"group_size": 6, "group_size": 6,
"academic_credits": "WUT?", "academic_credits": "WUT?",
"lulz_had": "medium", "lulz_had": "medium",
......
...@@ -41,7 +41,7 @@ def techniques(): ...@@ -41,7 +41,7 @@ def techniques():
search_field = request.form.getlist('search_field', None) search_field = request.form.getlist('search_field', None)
techniques_search = request.form.getlist('technique') techniques_search = request.form.getlist('technique')
#print(techniques_search) print(f"Searching for: ", search_query)
print(search_field) print(search_field)
filtered_projects = search(load('data.json'), sort_by=sort_by, sort_order=sort_order, techniques=techniques_search, search=search_query, search_fields=search_field) filtered_projects = search(load('data.json'), sort_by=sort_by, sort_order=sort_order, techniques=techniques_search, search=search_query, search_fields=search_field)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment