Owen Leonard
0906773333
This patch modifies the template for the lost items report to change the way it handles a missing CSV profile. Now, if there is a missing CSV profile, a message is displayed with details about the profile requirements. If the logged-in user has the right permission there is a link to the CSV profiles page. Since item selection is used only in conjunction with exporting results, item selection controls are all hidden when there is no valid CSV profile. To test, apply the patch go to Reports -> Lost items. - Run the report with parameters which will return results. - If your system has no CSV profile for exporting lost items: - If you are logged in as a user with manage_csv_profiles permission: - You should see a message dialog instructing you to create a CSV profile with a link to the CSV profiles page. - If you are not logged in as a user with manage_csv_profiles permission: - You should see a similar message but without a link to the CSV profiles page. - In both cases, with no CSV profile defined there should be no checkboxes in the table of results and no "select all/clear all" controls. - If your system has a valid CSV profile for exporting lost items: - Checking the checkbox for one or more items in the table should trigger the display of an "Export selected items" link. Signed-off-by: Mark Tompsett <mtompset@hotmail.com> Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> Signed-off-by: Nick Clemens <nick@bywatersolutions.com> |
||
---|---|---|
.. | ||
csv | ||
acquisitions_stats.tt | ||
bor_issues_top.tt | ||
borrowers_out.tt | ||
borrowers_stats.tt | ||
cash_register_stats.tt | ||
cat_issues_top.tt | ||
catalogue_out.tt | ||
catalogue_stats.tt | ||
convert_report.tt | ||
dictionary.tt | ||
guided_reports_start.tt | ||
issues_avg_stats.tt | ||
issues_stats.tt | ||
itemslost.tt | ||
itemtypes.tt | ||
orders_by_budget.tt | ||
reports-home.tt | ||
reserves_stats.tt | ||
serials_stats.tt |