I have the same results as Owen. I don't think items.onloan is being consulted anymore to determine an item's availability. There is a section of code in the buildQuery() function that's been commented out, and it seems to be what dealt with availability limiting. See commit 3daa3143.<div>
<br></div><div>Also, the definition of 'available' seems a bit vague. Until the previous mentioned commit, it seems to be defined as "not checked out and not lost". But now that that section is commented out, I'm not sure how availability is being determined.</div>
<div><br></div><div>Also also, perhaps it would be good to distinguish between available for checkout vs. available for use. For libraries with large non-circulating collections, this distinction becomes increasingly important. Looking forward, perhaps some way to indicate whether something is online, and if it accessible remotely or only on-site.</div>
<div><br></div><div><br></div><div>-Ian</div><div><div><br><div class="gmail_quote">On Mon, May 10, 2010 at 11:56 AM, Owen Leonard <span dir="ltr"><<a href="mailto:oleonard@myacpl.org">oleonard@myacpl.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div class="im">> * Ian Walls (<a href="mailto:ian.walls@bywatersolutions.com">ian.walls@bywatersolutions.com</a>) wrote:<br>
</div><div class="im">>> after performing a search that returns many,<br>
>> many results, limiting to available will reduce the results to less than a<br>
>> page's worth (far fewer than are actually available)<br>
<br>
</div><div class="im">On Fri, May 7, 2010 at 3:23 PM, Chris Cormack <<a href="mailto:chrisc@catalyst.net.nz">chrisc@catalyst.net.nz</a>> wrote:<br>
> If you get a chance could you try running the<br>
> misc/migration/<a href="http://fix_onloan.pl" target="_blank">fix_onloan.pl</a> script. And also<br>
> update items set onloan = NULL WHERE onloan = '0000-00-00'<br>
<br>
</div>I see this problem in my test system running HEAD.<br>
<br>
I followed both these suggestions and there was no effect. The script<br>
produced a few lines of output (like "Onloan : 2010-03-04 for 768 /<br>
1432"). The sql statement affected 0 rows.<br>
<br>
-- Owen<br>
<font color="#888888"><br>
--<br>
Web Developer<br>
Athens County Public Libraries<br>
<a href="http://www.myacpl.org" target="_blank">http://www.myacpl.org</a><br>
</font><div><div></div><div class="h5">_______________________________________________<br>
Koha mailing list<br>
<a href="mailto:Koha@lists.katipo.co.nz">Koha@lists.katipo.co.nz</a><br>
<a href="http://lists.katipo.co.nz/mailman/listinfo/koha" target="_blank">http://lists.katipo.co.nz/mailman/listinfo/koha</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Ian Walls<br>Lead Development Specialist<br>ByWater Solutions<br>ALA Booth # 817<br>Phone # (888) 900-8944<br><a href="http://bywatersolutions.com">http://bywatersolutions.com</a><br>
<a href="mailto:ian.walls@bywatersolutions.com">ian.walls@bywatersolutions.com</a><br>Twitter: @sekjal<br>
</div></div>