Add scrolling to modal dialogs.
[redakcja.git] / src / documents / views.py
index 397d78b..05f8853 100644 (file)
@@ -224,7 +224,7 @@ def book_xml(request, slug):
 
 @never_cache
 def book_xml_dc(request, slug):
 
 @never_cache
 def book_xml_dc(request, slug):
-    book = get_object_or_404(Book, dc_slug=slug)
+    book = get_object_or_404(Book, catalogue_book_id=slug)
     return serve_xml(request, book, slug)
 
 
     return serve_xml(request, book, slug)