Koha How-To

Koha Question of the Week: What Happens to the Statistics of a Deleted Branch?

Each Friday, we will bring you a new Koha Question of the Week. We will select real questions that we receive and share the answers with you!

Question: What Happens to the Statistics of a Deleted Branch?

Answer: Koha has guard rails around deleting important information like a branch code if it is in use, but once a branch's items are all transferred to a new location and no patron accounts remain using that branchcode, the branch can safely be deleted from Koha.

Statistics capture a snapshot of information at time of transaction, so the statistics.branchcode field of statistics reports will still retain the branchcode for historical circulation counts, even if the branch has been deleted. Statistics reports linking out to additional tables may need some adjustment in light of a deleted branch, but the statistics do still remain and can be reported on.

Additional Resources

Koha Wiki SQL Reports Circulation