https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33758
Hammat wele <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #158160|0 |1 is obsolete| | --- Comment #7 from Hammat wele <[email protected]> --- Created attachment 163798 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=163798&action=edit Bug 33758 - Add a parameter to use the intranet_catalog_biblio_enhancements_toolbar_button Plugin hook This patch calls the method "intranet_catalog_biblio_enhancements_toolbar_button" with the parameter "biblionumber" in "cat-toolbar.inc". I also updated the unit tests. A plugin is in the attachments to help you test the patch. When the patch is applied, the plugin displays a button with the text "Test - [biblionumber]" in the catalogue/detail.pl toolbar. To test: 1. Apply the patch 2. Use a plugin that implements the "intranet_catalog_biblio_enhancements_toolbar_button method" (you can use the plugin in the attachments) 3. Check if the parameter "biblionumber" is passed correctly to this method 4. Create the new button in the plugin method (button must be like the ones that are in the toolbar of the page catalogue/detail.pl) 5. In a browser, go to the detail page of a record (catalogue/detail.pl) 6. Check if the new button is displayed 7. In a terminal, run the unit tests (prove ./t/db_dependent/Koha/Plugins/Plugins.t) 8. Check that all the tests passed -- 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/
