stable

Clone or download

Read-only

request #13348 User preference for the new Document UI is not correctly saved in the DB

The user UI prefrence is now set via one key (plugin_docman_display_new_ui_<project_id>) instead of two key. When plugin_docman_display_new_ui_<project_id> = '0' => you are redirected to the old UI. If the key = "1" , you are redirected to the new UI How to test: - Switch between the old UI and the new UI of the document manager. - Go to an other service or refresh the page. => The user is no longer redirected to old UI when he previoulsly switched to the new UI Change-Id: Ia34887fe38644bb2204f0c5e77ceace126ac6945

Modified Files

Name
A plugins/docman/db/mysql/updates/2019/201904301700_remove_no_more_user_legacy_ui_preference.php +47 −0 Go to diff View file
M plugins/document/include/DocumentUsageRetriever.php +5 −4 Go to diff View file
M plugins/document/include/Tree/DocumentTreeController.php +1 −1 Go to diff View file
M plugins/document/phpunit/include/DocumentUsageRetrieverTest.php +3 −12 Go to diff View file
M plugins/document/scripts/document/api/rest-querier.js +2 −9 Go to diff View file
M plugins/document/scripts/document/store/actions.js +0 −2 Go to diff View file
M plugins/document/scripts/document/store/actions.spec.js +0 −7 Go to diff View file