File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 11{
22 "name" : " iknow-entity-browser" ,
3- "version" : " 0.8.0 " ,
3+ "version" : " 0.8.1 " ,
44 "description" : " Visualizer for iKnow entities" ,
55 "main" : " gulpfile.babel.js" ,
66 "scripts" : {
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ import { translateBy, focusOn } from "../graph";
99
1010let sorting = {
1111 properties : [ "entities" , "0" , "frequency" ] ,
12- order : - 1
12+ order : 1
1313} ;
1414
1515let sorter = ( a , b ) => {
@@ -124,9 +124,9 @@ function columnClicked () {
124124 let attr = this . getAttribute ( "data-prop" ) ,
125125 arr = attr . split ( "." ) ;
126126 if ( attr === sorting . properties . join ( "." ) )
127- sorting . order = sorting . order === 1 ? - 1 : sorting . order === - 1 ? 0 : 1 ;
127+ sorting . order = sorting . order === - 1 ? 1 : sorting . order === 1 ? 0 : - 1 ;
128128 else
129- sorting . order = 1 ;
129+ sorting . order = - 1 ;
130130 sorting . properties = arr ;
131131 updateHeaders ( attr ) ;
132132 updateAll ( ) ;
You can’t perform that action at this time.
0 commit comments