Just a quick one...

In the search form that ships with FarCry project,
(appName\includedObj\_search.cfm), I think line 96 needs to be changed to
use ceiling() instead of evaluate(), otherwise the number of pages isn't
correctly calculated

<cfset pages = evaluate(qResults.recordcount / maxrows)>

.. becomes..

<cfset pages = ceiling(qResults.recordcount / maxrows)>

with the current line something like 19 results will return 1.9 pages, which
will loop once, ceiling will result in pages being 2.

Cheers

--

Quentin Zervaas
Web Developer

MITOUSA.
Web + Interface Architects

T:// (08) 8361 9022
F:// (08) 8361 9977
E:// [EMAIL PROTECTED]
W:// www.mitousa.com



---
You are currently subscribed to farcry-dev as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]

MXDU2004 + Macromedia DevCon AsiaPac + Sydney, Australia
http://www.mxdu.com/ + 24-25 February, 2004

Reply via email to