Skip to main content
ExLibris
  • Subscribe by RSS
  • Ex Libris Knowledge Center

    Filter cir-11 by Item Due Date

    • Article Type: Q&A
    • Product: Aleph
    • Product Version: 21

    Question

    How can a report be printed that only contains all hold requests on items with a due date of 24/Aug/2010?

    Answer

    To print only hold requests with a due date of August 24, use an XSL for-each element.
    Steps:
    1) Copy the form_lng/outstanding-loan-requests.xsl and edit the new version of the file.
    2) In the grid section at the bottom of the XSL file, edit/add the fields to be printed. At least add the loan due date field:
    <xsl:call-template name="display-grid-gen">
    <xsl:with-param name="label" select="'Due Date'"/>
    <xsl:with-param name="value" select="./z36-due-date"/>
    <xsl:with-param name="header" select="$header"/>
    </xsl:call-template>
    3) At the top of the XSL file (after <!--section-02 (GRID)-->), add element <xsl:for-each select="//section-02[z36-due-date='24/08/2010']">
    Example:
    <xsl:call-template name="grid-open"/>
    <xsl:for-each select="//section-02[z36-due-date='24/08/2010']">
    <xsl:if test="position() = 1">
    <xsl:call-template name="section-02">
    <xsl:with-param name="header" select="'header'"/>
    </xsl:call-template>
    </xsl:if>
    <xsl:call-template name="section-02"/>
    </xsl:for-each>
    4) Use util i/6 to recreate the print template package.
    5) Now execute Outstanding Hold Requests Report (cir-11) using the new file format. Only hold requests with a due date of 24/Aug/2010 should print.

    Additional Information

    * cir-11 can print all outstanding hold requests.
    * In the report, it is also possible to include information from the associated loan record (Z36).

    Category: Circulation (500)

    Subject: Hold requests (500)


    • Article last edited: 10/8/2013