[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 Feb 20 15:55:13 CET 2023


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

Jacob O'Mara <jacob.omara at ptfs-europe.com> changed:

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

--- Comment #8 from Jacob O'Mara <jacob.omara at ptfs-europe.com> ---
Created attachment 146965
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=146965&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

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


More information about the Koha-bugs mailing list