X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/32974185d5e2b1bdc197b4f5dcab259b5de3c6b4..985ca3a21df2340caa545f27e5f01fd1eb87c9c8:/apps/wiki/templates/wiki/document_list.html
diff --git a/apps/wiki/templates/wiki/document_list.html b/apps/wiki/templates/wiki/document_list.html
index 2ab5ab9c..f808a1d3 100644
--- a/apps/wiki/templates/wiki/document_list.html
+++ b/apps/wiki/templates/wiki/document_list.html
@@ -1,5 +1,6 @@
{% extends "wiki/base.html" %}
+{% load i18n %}
{% block extrabody %}
{{ block.super }}
@@ -9,7 +10,7 @@ $(function() {
event.preventDefault();
var expr = new RegExp(slugify($('#file-list-filter').val()), 'i');
$('#file-list tbody tr').hide().filter(function(index) {
- return expr.test(slugify($('a', this).text()));
+ return expr.test(slugify( $('a', this).attr('data-id') ));
}).show();
}
@@ -25,13 +26,31 @@ $(function() {
Filtr:
-
+