Masse salariale: headers
[auf_rh_dae.git] / project / rh / views.py
index 8b2e155..07c68a8 100644 (file)
@@ -219,7 +219,8 @@ def rapports_masse_salariale(request):
             c['rapport'] = masse.rapport
             headers = masse.headers
             c['header_keys'] = [h[0] for h in masse.headers]
-            h = SortHeaders(request, headers, order_field_type="ot", order_field="o")
+            h = SortHeaders(request, headers, order_field_type="ot",
+                    not_sortable=c['header_keys'], order_field="o")
             c['headers'] = list(h.headers())
 
     return render_to_response('rh/rapports/masse_salariale.html', c, RequestContext(request))