BUG: Liturgy section of Passage Guide selection criteria

Using the following PB as a test file:

6758.Perek Yomi Tehillim monthly.docx

I discovered that if a Psalm appears today or in the future, it is selected for the Passage Guide Liturgy section. If it was used earlier than today, it does not appear in the Guide. When looking for where a passage is used, this makes the section useless.

Orthodox Bishop Alfeyev: "To be a theologian means to have experience of a personal encounter with God through prayer and worship."; Orthodox proverb: "We know where the Church is, we do not know where it is not."

Comments

  • Dave Hooton
    Dave Hooton MVP Posts: 36,339

    MJ. Smith said:

    If it was used earlier than today, it does not appear in the Guide. When looking for where a passage is used, this makes the section useless.

    It is inconsistent that a future reading date is more useful than a past date. To emphasize the nature of the bug I added a Heading 1 section called Index of Readings and included the references to some of the readings with NO date milestones.  The passage guide showed:-

    • Day xx + Index sections for a future reading
    • Index section only for a past reading

    i.e. if the reference was in the Index it was included in the PG whether or not it was in a {{reading}} field!

    You will note that the results for Logos lectionaries all come from an Index of Readings section...

    Dave
    ===

    Windows 11 & Android 13

  • MJ. Smith
    MJ. Smith MVP Posts: 55,539

    Orthodox Bishop Alfeyev: "To be a theologian means to have experience of a personal encounter with God through prayer and worship."; Orthodox proverb: "We know where the Church is, we do not know where it is not."

  • Dylan Rondeau
    Dylan Rondeau Member, Logos Employee Posts: 1,401

    MJ. Smith said:

    f it was used earlier than today, it does not appear in the Guide.

    I have created a case for development to look into this and will update the thread when it has been fixed.

    Dylan Rondeau, Software Tester

    Enable Logging: Mac | Windows (Right-click "Save As...")

  • Louis St. Hilaire
    Louis St. Hilaire Member, Logos Employee Posts: 513

    Before 5.2, the Passage Guide searched lectionaries for upcoming readings. As of 5.2, it now searches the Index of Readings, since this provides a complete listing of liturgical occasions with only one fixed location for each distinct occasion. For backwards compatibility, however, it will fall back to the old method if no Index is present.

    I'm pretty sure the determination is just based on the absence of YearMonthDay milestones. Articles without such milestones are presumed to be fixed locations for a liturgical occasion rather than a listing of readings for a particular secular date.

    Would it make more sense to have the fallback behavior just search the entire resource? If most people are just building lectionaries with alignment to the secular calendar for only a single year or cycle, this would make sense. If they're providing alignment for multiple years or cycles (as our lectionaries do), it could lead to a lot of redundant hits.

  • MJ. Smith
    MJ. Smith MVP Posts: 55,539

    Historical lectionaries would normally be built only for a single year. Ideally they would show only a liturgical date without a secular calendar date.

    Orthodox Bishop Alfeyev: "To be a theologian means to have experience of a personal encounter with God through prayer and worship."; Orthodox proverb: "We know where the Church is, we do not know where it is not."

  • Louis St. Hilaire
    Louis St. Hilaire Member, Logos Employee Posts: 513

    If no alignment with the secular calendar is desired, just omit the YearMonthDay milestones. Those are only necessary if you want today's readings to appear on the lectionary homepage sidebar (or otherwise want to look things up by secular calendar date).

    I haven't tested it, but I believe omitting the YearMonthDay should also allow it to work in the Passage Guide as desired.

  • MJ. Smith
    MJ. Smith MVP Posts: 55,539

    I haven't tested it, but I believe omitting the YearMonthDay should also allow it to work in the Passage Guide as desired.

    Just tried ... nope

    Input .docx file

    0728.Perek Yomi Tehillim weekly undated.docx

    Orthodox Bishop Alfeyev: "To be a theologian means to have experience of a personal encounter with God through prayer and worship."; Orthodox proverb: "We know where the Church is, we do not know where it is not."

  • MJ. Smith
    MJ. Smith MVP Posts: 55,539

    Orthodox Bishop Alfeyev: "To be a theologian means to have experience of a personal encounter with God through prayer and worship."; Orthodox proverb: "We know where the Church is, we do not know where it is not."

  • Louis St. Hilaire
    Louis St. Hilaire Member, Logos Employee Posts: 513

    It looks like the Liturgy section is still expecting YearMonthDay milestones to occur somewhere in the resource. It uses prioritization by this milestone index to determine the order the lectionaries are displayed in.

    I'm going to see if we can change things to include lectionaries without such an index, but the best solution in the meantime is to build your lectionaries like ours with a section of readings by date and a complete "perpetual" listing without dates. It appears, however, that it works best to put the by-date section after the date-less section.

    (Or if you really have no use for and don't want to bother with a listing by date, an arbitrary YearMonthDay milestone placed at the end of the resource after all the readings will also work as a kludge for now [:)].)

  • MJ. Smith
    MJ. Smith MVP Posts: 55,539

    Thanks for the research ... it gives me a workable solution for myself for now. I need to think a bit more on what I want to do with ones I share publicly and with ones like the ISSL which is none repeating.

    Orthodox Bishop Alfeyev: "To be a theologian means to have experience of a personal encounter with God through prayer and worship."; Orthodox proverb: "We know where the Church is, we do not know where it is not."