diff --git a/frontend/js/views/documentSourceView.js b/frontend/js/views/documentSourceView.js index 682b6a18a4..48e639b2d8 100644 --- a/frontend/js/views/documentSourceView.js +++ b/frontend/js/views/documentSourceView.js @@ -11,8 +11,19 @@ var documentSourceView = Backbone.View.extend({ render: function() { $(this.el).html(this.template.text); + this.breadcrumb(); return this; }, + breadcrumb: function () { + var name = window.location.hash.split("/"); + $('#transparentHeader').append( + 'Collections'+ + ' > '+ + ''+name[1]+''+ + ' > '+ + ''+name[2]+'' + ); + }, saveSourceDoc: function() { window.arangoDocumentStore.saveDocument("source"); }, diff --git a/frontend/js/views/documentView.js b/frontend/js/views/documentView.js index 835e554be9..109665ebfd 100644 --- a/frontend/js/views/documentView.js +++ b/frontend/js/views/documentView.js @@ -64,7 +64,7 @@ var documentView = Backbone.View.extend({ initTable: function () { var documentTable = $(this.table).dataTable({ - "aaSorting": [[ 1, "desc" ]], + "aaSorting": [[ 1, "asc" ]], "bAutoWidth": false, "bFilter": false, "bPaginate":false,