Bug 38127: Missing column headings in 'Add user' pop-up modal
This patch modifies the template for adding to a basket from a new (empty) record in order to make the "Add user" patron search results correct. The patron search results table headers must be defined in the template before they are used. To test, apply the patch and go to Acquisitions. - Search for a vendor. - Add or create a basket for that vendor. - Click "Add to basket" and select "From a new (empty) record." - In the "New order" form, under the "Patrons" heading, click "Add user" - Search for patrons to add. - In the patron search results, each column should have a heading: Card, Name, Category, Library. Sponsored-by: Athens County Public Libraries Signed-off-by: David Nind <david@davidnind.com> Signed-off-by: Julian Maurice <julian.maurice@biblibre.com> Signed-off-by: Jesse Maseto <jesse@bywatersolutions.com> modified: koha-tmpl/intranet-tmpl/prog/en/modules/acqui/neworderempty.tt
This commit is contained in:
parent
25dfb06f9b
commit
1192a706cb
|
|
@ -781,8 +781,8 @@
|
|||
</div> <!-- /.col-sm-2.col-sm-pull-10 -->
|
||||
</div> <!-- /.row -->
|
||||
|
||||
[% PROCESS patron_search_modal columns => columns, modal_title => t("Add user") %]
|
||||
[% SET columns = ['cardnumber','name','category','branch','action'] %]
|
||||
[% PROCESS patron_search_modal columns => columns, modal_title => t("Add user") %]
|
||||
[% PROCESS patron_search_js columns => columns, actions => ["add"], preview_on_name_click => 1 %]
|
||||
|
||||
[% MACRO jsinclude BLOCK %]
|
||||
|
|
|
|||
Loading…
Reference in New Issue