diff --git a/marietje/api/views.py b/marietje/api/views.py
index be21741..3992351 100644
--- a/marietje/api/views.py
+++ b/marietje/api/views.py
@@ -32,8 +32,6 @@ def songs(request):
queries = [Q(deleted=False)]
queries.extend([Q(Q(artist__icontains=word) | Q(title__icontains=word)) for word in request.POST.get('all', '').split()])
- queries.extend([Q(artist__icontains=word) for word in request.POST.get('artist', '').split()])
- queries.extend([Q(title__icontains=word) for word in request.POST.get('title', '').split()])
queries.extend([Q(user__name__icontains=word) for word in request.POST.get('uploader', '').split()])
filter_query = queries.pop()
diff --git a/marietje/marietje/static/js/queue.js b/marietje/marietje/static/js/queue.js
index 09340ba..6797067 100644
--- a/marietje/marietje/static/js/queue.js
+++ b/marietje/marietje/static/js/queue.js
@@ -41,7 +41,7 @@ $(function () {
console.log('Page: ' + $(this).val());
});
- $('#search-all, #search-artist, #search-title, #search-uploader, .pagenum').change(function(){
+ $('#search-all, #search-uploader, .pagenum').change(function(){
getSongs();
});
@@ -180,12 +180,10 @@ function refreshQueue()
function getSongs()
{
var all = $('#search-all').val();
- var artist = $('#search-artist').val();
- var title = $('#search-title').val();
var uploader = $('#search-uploader').val();
var page = $('.pagenum').val();
var pagesize = $('.pagesize').val();
- $.post('/api/songs', {all: all, artist: artist, title: title, uploader: uploader, page: page, pagesize: pagesize, csrfmiddlewaretoken: csrf_token}, function (result) {
+ $.post('/api/songs', {all: all, uploader: uploader, page: page, pagesize: pagesize, csrfmiddlewaretoken: csrf_token}, function (result) {
$('#request-table tbody').empty();
songs = result.data;
$.each(songs, function (id, song) {
diff --git a/marietje/queues/templates/queues/queue.html b/marietje/queues/templates/queues/queue.html
index d0bdb0d..a58820f 100644
--- a/marietje/queues/templates/queues/queue.html
+++ b/marietje/queues/templates/queues/queue.html
@@ -8,7 +8,6 @@
| Uploader | ||||
|---|---|---|---|---|
| - | + | |||