[% INCLUDE 'doc-head-open.inc' %] Koha › Reports › Guided reports › Dictionary [% INCLUDE 'doc-head-close.inc' %] [% INCLUDE 'calendar.inc' %] [% INCLUDE 'header.inc' %] [% INCLUDE 'circ-search.inc' %] [%- BLOCK area_name -%] [%- SWITCH area -%] [%- CASE 'CIRC' -%]Circulation [%- CASE 'CAT' -%]Catalog [%- CASE 'PAT' -%]Patrons [%- CASE 'ACQ' -%]Acquisitions [%- CASE 'ACC' -%]Accounts [%- END -%] [%- END -%]
[% IF ( start_dictionary ) %] [% END %]

Dictionary

[% IF ( start_dictionary ) %]

Use the dictionary to define custom criteria for reporting.

[% IF ( definitions ) %]

Current terms

[% IF ( areas ) %] Filter by area [% END %]

[% FOREACH definition IN definitions %] [% UNLESS ( loop.odd ) %] [% ELSE %] [% END %] [% END %]
Name Description Area Definition  
[% definition.name %] [% definition.description %] [% definition.areaname %] [% definition.saved_sql %]
[% END %] [% END %] [% IF ( new_dictionary ) %]

Add new definition

Step 1 of 5: Name the new definition
[% END %] [%- IF ( step_2 ) -%]

Add new definition

Step 2 of 5: Choose the area
[%- END -%] [% IF ( step_3 ) %]

Add new definition

Step 3 of 5: Choose a column
[% END %] [% IF ( step_4 ) %]

Add new definition

Step 4 of 5: Specify a value [% FOREACH column IN columns %]
  1. Column: [% column.name %]
  2. [% IF ( column.distinct ) %]
  3. [% END %] [% IF ( column.date ) %]
  4. Choose:
    All dates OR Date range
    Start of date range
    [% INCLUDE 'date-format.inc' %]
    End of date range
    [% INCLUDE 'date-format.inc' %]
  5. [% END %] [% IF ( column.text ) %]
  6. [% END %] [% END %]
[% END %] [% IF ( step_5 ) %]

Add new definition

Step 5 of 5: Confirm details
  1. Name:[%- definition_name -%]
  2. Description:[%- definition_description -%]
  3. Area:[%- PROCESS area_name area=area -%]
  4. Data: [%- FOREACH criteria_loo IN criteria_loop -%] [%- END -%]
    Columns Values
    [%- criteria_loo.name -%] [%- criteria_loo.value -%]
[% END %]
[% INCLUDE 'guided-reports-view.inc' %]
[% INCLUDE 'intranet-bottom.inc' %]