How to use "Number of Pages" and "Start Page" fields

Created on 7 August 2022, almost 3 years ago
Updated 25 June 2025, 8 days ago

Problem/Motivation

When generating a view from a saved reference using the "citation" field, the Number of Pages" field is used, but the "Start Page" is not.

Steps to reproduce

  1. Add a "Journal article" with values in the "Start Page" (e.g. "123") and "Number of Pages" (e.g. "8") fields.
  2. Reference the item in a View using the "citation" field. The result will be something like: "Coe, R. L. (1953). Diptera, Syrphidae. Royal Entomological Society Handbooks For The Identification Of British Insects, 10(1), 8.". Note that the page number shown in the citation is the number of pages, not the page number!

Proposed resolution

Update the "citation" field in Views to use the Start Page field. Ideally, use [Start Page] "-" ([Start Page] + [Number of Pages] - 1) if both are available.

In the example, the result should ideally be:
"Coe, R. L. (1953). Diptera, Syrphidae. Royal Entomological Society Handbooks For The Identification Of British Insects, 10(1), 123-130."

πŸ’¬ Support request
Status

Active

Version

3.0

Component

Code

Created by

πŸ‡¬πŸ‡§United Kingdom Stuart-UK

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • πŸ‡ΊπŸ‡ΈUnited States mark_fullmer Tucson

    Reviewing the design of this module, I would recommend an alternate resolution: change the label of the "Number of pages" field to "Pages" and indicate in field help text that this can be entered as either a single page number (22) or a page range (22-25). The module is designed to pass that field value to the processors and render it correctly to show the page range.

    This would seem to be preferable over math logic such as "[Start Page] + [Number of Pages] - 1".

Production build 0.71.5 2024