Bug 23347 - Hide empty callnumber column in items table
Summary: Hide empty callnumber column in items table
Status: NEW
Alias: None
Product: Koha
Classification: Unclassified
Component: System Administration (show other bugs)
Version: Main
Hardware: All All
: P5 - low enhancement (vote)
Assignee: Bugs List
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-07-19 15:10 UTC by Marjorie Barry-Vila
Modified: 2022-03-07 19:24 UTC (History)
3 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 Marjorie Barry-Vila 2019-07-19 15:10:10 UTC
Hi,
It would be nice to be able to choose which fields of the item would be displayed in the OPAC in the items table, in connection with columns settings holdingst.

Regards
Marjorie
Comment 1 Katrin Fischer 2020-03-30 21:39:41 UTC
Hi Marjorie, do you mean that there should be an option to have different configurations for different frameworks?
Comment 2 Marjorie Barry-Vila 2022-03-01 15:28:39 UTC
Hi Katrin,

Sorry for the delay!

It's more a question finally, why the Call number column is displayed when the field is empty? There are columns that are not displayed as soon as the field is empty, such as the Notes.

Even if in the cataloging framework, the callnumber subfield is not checked for the visibility in opac, the column is displayed anyway. I think only filled subfields should appear in the table.

And if that's not possible, then make the Opac box in the cataloging framework work for the items table.

Regards,
Marjorie
Comment 3 Katrin Fischer 2022-03-06 12:05:29 UTC
(In reply to Marjorie Barry-Vila from comment #2)
> Hi Katrin,
> 
> Sorry for the delay!
> 
> It's more a question finally, why the Call number column is displayed when
> the field is empty? There are columns that are not displayed as soon as the
> field is empty, such as the Notes.
> 
> Even if in the cataloging framework, the callnumber subfield is not checked
> for the visibility in opac, the column is displayed anyway. I think only
> filled subfields should appear in the table.
> 
> And if that's not possible, then make the Opac box in the cataloging
> framework work for the items table.

I think the visibility setting for the OPAC in the frameworks currently only works for the MARC view. But you can use the table configuration to still hide the column in the table. So it's possible and also makes sense to configure this in both spots. I think it might make it more confusing actually if the item table was both configured in frameworks and in the column settings. Harder to find out what the issue might be if something doesn't show.

Showing or not showing a column that is empty is a little bit of a different problem. We do this for some columns like OPAC note, but I think it was assumed that the call number would usually be filled in or should be, so the column should not be automatically hidden. If you want, we could change the bug description to make it about hiding an empty callnumber column specifically?