Bug 13269 - not all 5xx fields show in the staff
Summary: not all 5xx fields show in the staff
Status: CLOSED WORKSFORME
Alias: None
Product: Koha
Classification: Unclassified
Component: Templates (show other bugs)
Version: Main
Hardware: All All
: P5 - low normal (vote)
Assignee: Owen Leonard
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-11-17 16:00 UTC by Nicole C. Engard
Modified: 2016-12-05 21:23 UTC (History)
2 users (show)

See Also:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nicole C. Engard 2014-11-17 16:00:08 UTC
The 518 and 599 are 2 examples of notes fields that show in the OPAC and not the staff client.  All note fields should show in the staff client.
Comment 1 Owen Leonard 2014-11-18 17:18:07 UTC
I don't see 599 included in any of the default frameworks, so I'm not surprised it's not configured to display.

However, I do see 518 showing in the staff client, under the "Descriptions" tab. Is this not what you were looking for?
Comment 2 Nicole C. Engard 2014-11-19 13:44:14 UTC
Hmm, okay let me take a look. Another is the 541 that was mentioned.  In short are all 5xx fields showing on staff client like they are on the OPAC?
Comment 3 Owen Leonard 2014-11-19 18:31:15 UTC
I edit a record using the default framework and added data to all the 5xx fields for testing purposes. I viewed the record in the OPAC and staff client and found that the staff client showed more data (as I suspect it should). The data all appeared under the descriptions tabs.

----------------
| Staff | OPAC |
----------------
|  500  | 500  |
|  501  | 501  |
|  502  | 502  |
|  505  | 505  |
|  508  | 508  |
|  511  | 511  |
|  518  | 518  |
|  520  | 520  |
|  521  | 521  |
|  522  | 522  |
|  524  | 524  |
|  526  | 526  |
|  530  | 530  |
|  533  | 533  |
|  538  | 538  |
|  541  | 541  |
|  546  | 546  |
|  555  | 555  |
|  556  | 556  |
|  562  | 562  |
|  563  |      |
|  583  |      |
|  585  |      |
|  586  |      |
----------------
Comment 4 Owen Leonard 2014-11-19 18:47:33 UTC
Actually that's wrong, all the same notes fields show up in both. The data is returned by exactly the same function in both OPAC and staff client, which simply grabs everything in the 5xx range.

It's important to note that there are two different ways 5xx data is being displayed: 

1. All of the 5xx data is dumped into the descriptions tab without any parsing at all. That is, Koha doesn't examine which tag is which when being displayed. That's why there aren't any labels (See Bug 13248).

2. Some notes fields are selected by the XSL template for display outside of the descriptions tab.

   In the OPAC: 530, 505, 583, 586, 511, 502, and 520
   In the staff client: 505 and 502 (fewer -- which may be the 
    cause of the original report here?)

Notes fields displayed by XSLT have an associated label because they are being explicitly chosen for display.
Comment 5 Katrin Fischer 2015-12-29 10:22:18 UTC
Hm, I am marking this WORKSFORME as we have confirmed that all the notes show the same in the title notes/description tabs. I think for a better display, another bug would be better to discuss things - like bug 13248.