[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
Mon May 22 15:30:17 CEST 2023


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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #149935|0                           |1
        is obsolete|                            |

--- Comment #40 from Agustín Moyano <agustinmoyano at theke.io> ---
Created attachment 151529
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=151529&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>
Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>

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


More information about the Koha-bugs mailing list