https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=41120

--- Comment #2 from Jan Kissig <[email protected]> ---
alternatively this fix:

in koha3/koha-tmpl/intranet-tmpl/prog/js/vue/modules/erm.ts

The call of navigationStore.$patch includes 'from' but if you log the state of
'from' after the call of $patch it remained as before.

So the following changes the state of from in an extra call.

navigationStore.$patch({
        current: to.matched,
        params: to.params || {},
    });
navigationStore.from = from;


What remains is a warning in Firefox console: [Vue Router warn]: Discarded
invalid param(s) "erm_usage_data_provider_id" when navigating. See
https://github.com/vuejs/router/blob/main/packages/router/CHANGELOG.md#414-2022-08-22
for more details.

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to