Bug 41760 - Fix <tbody> and <tfoot> in several templates
Summary: Fix <tbody> and <tfoot> in several templates
Status: Needs Signoff
Alias: None
Product: Koha
Classification: Unclassified
Component: Templates (show other bugs)
Version: Main
Hardware: All All
: P5 - low minor
Assignee: Owen Leonard
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2026-02-03 16:59 UTC by Owen Leonard
Modified: 2026-02-03 18:43 UTC (History)
0 users

See Also:
GIT URL:
Initiative type: ---
Sponsorship status: ---
Comma delimited list of Sponsors:
Crowdfunding goal: 0
Patch complexity: Small patch
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:


Attachments
Bug 41760: Fix <tbody> and <tfoot> in several templates (67.64 KB, patch)
2026-02-03 18:43 UTC, Owen Leonard
Details | Diff | Splinter Review

Note You need to log in before you can comment on or make changes to this bug.
Description Owen Leonard 2026-02-03 16:59:47 UTC
There was a time when the W3C wanted us to put <tfoot> betwee, <thead> and <tbody>, but they have changed their minds. There are a few pages which still have the <tfoot> in that position which triggers a validator error.

There are also several instances of <tfoot> in tables which lack a <tbody>, which I'm also fixing.
Comment 1 Owen Leonard 2026-02-03 18:43:04 UTC
Created attachment 192396 [details] [review]
Bug 41760: Fix <tbody> and <tfoot> in several templates

This patch makes corrections to table markup in several templates,
fixing these issues:

- <tfoot> appearing before <tbody>
- <tfoot> appearing without a <tbody>

To test, apply the patch and view the following pages in the staff
client. In each case the table should look correct, including the
appearance of the table footer.

- Acquisitions -> Vendor -> Basket. Add orders to a basket if necessary,
    in order for the "Orders" table to appear.
- Acquisitions -> Vendor -> Basket -> Add to basket -> From existing
    orders (copy) -> Search for orders. You must have existing orders to
    populate the table of order search results.
- Acquisitions -> Vendor -> Receive shipments -> Receive a new shipment.
    You must have pending orders to populate the table. Receive at least
    one order to ensure data for the next step.
- Acquisitions home page -> "All available funds" table -> Click an
    amount linked in the "Spent" column.
- Administration -> Funds. You must have at least one budget and at
    least one fund under that budget.
- Administration -> Record overlay rules.
- Patrons -> View a patron record -> Accounting -> Transactions. If
    necessary you can use "Create manual invoice" to add a charge to the
    account.
    - From the list of transactions, click the "Pay" button next to one
      of them.
- Reports -> Cash register statistics wizard.
    - ??
- Reports -> Catalog by item type.

Sponsored-by: Athens County Public Libraries