[Koha-bugs] [Bug 670] "Waiting" status often inaccurate

bugzilla-daemon at wilbur.katipo.co.nz bugzilla-daemon at wilbur.katipo.co.nz
Sat Aug 5 14:52:38 CEST 2006


http://bugs.koha.org/cgi-bin/bugzilla/show_bug.cgi?id=670





------- Comment #3 from oleonard at athenscounty.lib.oh.us  2006-08-06 00:52 -------
If we got this fixed on the circulation page this issue would be 95% solved.
Right now the circulation page says, for instance:

Reserves waiting:

	* Cryptonomicon / (32000000091087 -- Chauncey)

The branch listed ("Chauncey") may or may not be the destination branch. I'd
like to see something like this:

Reserves waiting:

	 * Cryptonomicon / (32000000091087 -- In transit from APL to CPL)
	 * Revolt in 2100. (31000000019854 -- Waiting in Chauncey)

Here's how it looks in request.tmpl:

				<!-- TMPL_IF NAME="atdestination" -->
				<strong>Waiting</strong> at <!-- TMPL_VAR
Name="wbrcode" -->
				<!-- TMPL_ELSE -->
				In transit from <!-- TMPL_VAR
NAME="holdingbranch" --> to <!-- TMPL_VAR Name="wbrcode" -->
				<!-- /TMPL_IF -->

...where wbrcode is the destination branch of the reserve. The only snag in
making this happen in circulation.pl is that I wasn't sure how to grab all the
right variables to put this together, as it is in request.pl (line 148):

		if($reserve{'holdingbranch'} eq $reserve{'wbrcode'}){
			$reserve{'atdestination'} = 1;
		}




------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.





More information about the Koha-bugs mailing list