Skip to content

Instantly share code, notes, and snippets.

@tlimpanont
Last active April 12, 2018 13:18
Show Gist options
  • Save tlimpanont/732cd2f3893ceec8cb6fbfff24f46735 to your computer and use it in GitHub Desktop.
Save tlimpanont/732cd2f3893ceec8cb6fbfff24f46735 to your computer and use it in GitHub Desktop.
window.ClearanceOverviewDockableFrame.getJSPreferences = function() {
return `{ "filter": { "transferred": false, "movement": true, "isps": false, "substances": false, "channelBound": false, "hoursFutureArrivalTransit": 0, "hoursFutureDepartureShift": 0, "hoursFutureISPS": 0, "hoursFutureSubstances": 0 }, "follow": true, "sorts": [{ "prop": "beginTime", "dir": "desc" }, { "prop": "draught", "dir": "asc" }, { "prop": "length", "dir": "asc" }, { "prop": "beam", "dir": "asc" } ], "sizes": {}, "order": [{ "prop": "ucrn", "order": 0 }, { "prop": "type", "order": 1 }, { "prop": "reasons", "order": 2 }, { "prop": "callSign", "order": 3 }, { "prop": "shipName", "order": 4 }, { "prop": "beginTime", "order": 5 }, { "prop": "movementType", "order": 6 }, { "prop": "destination", "order": 7 }, { "prop": "length", "order": 8 }, { "prop": "beam", "order": 9 }, { "prop": "draught", "order": 10 }, { "prop": "shipType", "order": 11 }, { "prop": "orderStatus", "order": 12 } ] }`
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment