[Koha-bugs] [Bug 10188] Top Most-circulated items doesn't count current loans

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Jul 22 22:59:57 CEST 2014


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=10188

Micah Bucy <micah.bucy at eternalsword.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |micah.bucy at eternalsword.com

--- Comment #2 from Micah Bucy <micah.bucy at eternalsword.com> ---
Created attachment 29959
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=29959&action=edit
add union

This patch depends on my patch
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=29958 for bug
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=12628

This adds a union for `old_issues` and `issues`. Filtering that applied to
`old_issues` before joins has been applied prior to the union on both `issues`
and `old_issues`. Two new variables have been added to accomplish this
$strsth2_filter and $strcalc_filter. The union is named as `circulated`. Where
appropriate `old_issues` has been replaced with `circulated`.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list