[Koha-bugs] [Bug 32932] Re-structure Vue router-links to use "name" instead of urls

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Mar 22 15:49:42 CET 2023


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

Agustín Moyano <agustinmoyano at theke.io> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #148551|0                           |1
        is obsolete|                            |
 Attachment #148552|0                           |1
        is obsolete|                            |
 Attachment #148553|0                           |1
        is obsolete|                            |
 Attachment #148554|0                           |1
        is obsolete|                            |

--- Comment #26 from Agustín Moyano <agustinmoyano at theke.io> ---
Created attachment 148558
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=148558&action=edit
Bug 32932: Update router to use object references - agreements

This patch updates the Vue files for ERM to use router object links rather than
urls - this will make it much simpler to maintain the router if urls need to be
updated. This first patch only updates the files in the agreements section of
ERM as a first step to introduce the topic for discussion.

Test plan:
1) Apply patch
2) Navigate to the Agreements section of ERM and click on different navigation
links/buttons
3) The links/buttons should all work as normal
4) Review the code to see that the component files now refer back to the router
using objects rather than url strings

Signed-off-by: Agustin Moyano <agustinmoyano at theke.io>

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list