Skip to content
Snippets Groups Projects
Commit 766b69f2 authored by enured's avatar enured
Browse files

B14506: Corrected default set. refs #14506

parent 4e52ac38
No related branches found
No related tags found
2 merge requests!504New version 22.12.1,!498B14506: Implemented new default view for tablesorter. Trigger automatic save...
Pipeline #8527 passed
......@@ -164,7 +164,7 @@ var QfqNS = QfqNS || {};
// select view on page load: first priority from url hash, second priority localstorage, third private view named 'Default', fourth is public view 'Clear'
// Default (third priority) + Clear (fourth priority)
var publicDefaultExists = tableViews.some(function (v) {return v.name === 'Default' && !v.public;});
var publicDefaultExists = tableViews.some(function (v) {return v.name === 'Default' && v.public;});
var setValue = publicDefaultExists ? "public:Default" : "public:Clear";
// local storage (second priority)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment