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

David Cook <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #1 from David Cook <[email protected]> ---
(In reply to Esther Melander from comment #0)
> To replicate:
> 
> 1. Go to Cataloging > MARC Modification templates
> 
> note the URL = /cgi-bin/koha/tools/marc_modification_templates.pl
> 
> 2. Add a new template
> 
> notice the URL = /cgi-bin/koha/tools/marc_modification_templates.pl
> 
> It would be nice if the template name is incorporated into the URL so the
> URL can be shared and the user can be taken directly to a template.
> Currently the user has to go to
> /cgi-bin/koha/tools/marc_modification_templates.pl and search for the
> template to see the actions.

Good point!

Although it wouldn't be the template name. It would be the template ID. For
instance, if you go to edit the actions for the template, you'll have a URL
like
/cgi-bin/koha/tools/marc_modification_templates.pl?template_id=2&op=select_template

So the fix for this would be to add the new template with a POST and then after
a successful add, it should redirect the user to
/cgi-bin/koha/tools/marc_modification_templates.pl?template_id=<TEMPLATE
ID>&op=select_template

-- 
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.
_______________________________________________
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