Bug 36757 - Add assignee to catalog concern/ticket detail view when opened from catalog detail page
Summary: Add assignee to catalog concern/ticket detail view when opened from catalog d...
Status: RESOLVED FIXED
Alias: None
Product: Koha
Classification: Unclassified
Component: Cataloging (show other bugs)
Version: unspecified
Hardware: All All
: P5 - low minor
Assignee: Martin Renvoize (ashimema)
QA Contact: David Nind
URL:
Keywords:
Depends on: 35657
Blocks: 36800 36807
  Show dependency treegraph
 
Reported: 2024-05-02 12:55 UTC by Katrin Fischer
Modified: 2024-09-13 19:09 UTC (History)
5 users (show)

See Also:
Change sponsored?: ---
Patch complexity: Trivial patch
Documentation contact: Caroline Cyr La Rose
Documentation submission: https://gitlab.com/koha-community/koha-manual/-/merge_requests/957
Text to go in the release notes:
Version(s) released in:
24.05.00
Circulation function:


Attachments
Bug 36757: Sync concerns tables (5.94 KB, patch)
2024-05-07 09:15 UTC, Martin Renvoize (ashimema)
Details | Diff | Splinter Review
Bug 36757: Sync concerns tables (6.99 KB, patch)
2024-05-07 11:41 UTC, Martin Renvoize (ashimema)
Details | Diff | Splinter Review
Bug 36757: Sync concerns tables (7.05 KB, patch)
2024-05-07 15:20 UTC, Andrew Fuerste-Henry
Details | Diff | Splinter Review
Bug 36757: Sync concerns tables (7.09 KB, patch)
2024-05-08 09:21 UTC, David Nind
Details | Diff | Splinter Review
Bug 36757: (QA follow-up) Fix for action on different triggers (5.86 KB, patch)
2024-05-09 12:36 UTC, Martin Renvoize (ashimema)
Details | Diff | Splinter Review
Bug 36757: (QA follow-up) Fix for action on different triggers (5.91 KB, patch)
2024-05-09 12:52 UTC, Paul Derscheid
Details | Diff | Splinter Review
Bug 36757: (QA follow-up) Fix for action on different triggers (7.08 KB, patch)
2024-05-10 12:51 UTC, Martin Renvoize (ashimema)
Details | Diff | Splinter Review

Note You need to log in before you can comment on or make changes to this bug.
Description Katrin Fischer 2024-05-02 12:55:18 UTC
You can access the detail information about a cataloguing concern either from the cataloguing module (cat) or the bibliographic record (bib)

bib:
The assignee doesn't display in the upper right corner

cat:
The assignee DOES display in the upper right corner

For both:
If no update text was written, we miss a space in the info on the right side:
Nicole SchneiderPrivate
Comment 1 Martin Renvoize (ashimema) 2024-05-07 09:15:50 UTC
Created attachment 166241 [details] [review]
Bug 36757: Sync concerns tables

This patch re-syncs the two catalog concerns display tables markup. We
add the 'Title' field into the catalog/detail version of the table and
split the columns settings so you can control the table distinctly from
the cataloguing module version so we can hide 'title' by default in the
details display tab.

This results in the table matching the display from the cataloguing
module page, i.e. the assignee and status detail displays.
Comment 2 David Nind 2024-05-07 10:08:26 UTC
I'm not seeing any changes (I even reset_all).
Comment 3 Martin Renvoize (ashimema) 2024-05-07 11:33:40 UTC
Hmm, that's interesting.. it's all working for me here.

I set an assignee and that displays in the table.. I create some status and resolved AV's and use them, and those appear in the table.
Comment 4 Martin Renvoize (ashimema) 2024-05-07 11:33:58 UTC
Oh.. the Modal is also displayed different.. let me look at that now
Comment 5 Martin Renvoize (ashimema) 2024-05-07 11:41:40 UTC
Created attachment 166259 [details] [review]
Bug 36757: Sync concerns tables

This patch re-syncs the two catalog concerns display tables markup. We
add the 'Title' field into the catalog/detail version of the table and
split the columns settings so you can control the table distinctly from
the cataloguing module version so we can hide 'title' by default in the
details display tab.

This results in the table matching the display from the cataloguing
module page, i.e. the assignee and status detail displays.
Comment 6 Martin Renvoize (ashimema) 2024-05-07 11:42:42 UTC
Good catch David, I've corrected that now too.. I'd missed passing the assignee via the table action button.. it's now there too.
Comment 7 Andrew Fuerste-Henry 2024-05-07 15:20:22 UTC
Created attachment 166295 [details] [review]
Bug 36757: Sync concerns tables

This patch re-syncs the two catalog concerns display tables markup. We
add the 'Title' field into the catalog/detail version of the table and
split the columns settings so you can control the table distinctly from
the cataloguing module version so we can hide 'title' by default in the
details display tab.

This results in the table matching the display from the cataloguing
module page, i.e. the assignee and status detail displays.

Signed-off-by: Andrew Fuerste Henry <andrewfh@dubcolib.org>
Comment 8 Andrew Fuerste-Henry 2024-05-07 15:21:54 UTC
(In reply to Katrin Fischer from comment #0) 
> For both:
> If no update text was written, we miss a space in the info on the right side:
> Nicole SchneiderPrivate

I confirmed that this patch makes the form match up when accessing it via a bib and via the concerns tool.

It did not correct the spacing issue Katrin mentioned, and I didn't immediately see how to do so.
Comment 9 Martin Renvoize (ashimema) 2024-05-07 19:22:30 UTC
The spacing issues predate these patches and followups. I'd like to try to resolve those in a distinct bug as I've been round in circles a few times with that already and don't think doing so in this bug would be beneficial at this time
Comment 10 Andrew Fuerste-Henry 2024-05-07 20:29:39 UTC
(In reply to Martin Renvoize from comment #9)
> The spacing issues predate these patches and followups. I'd like to try to
> resolve those in a distinct bug as I've been round in circles a few times
> with that already and don't think doing so in this bug would be beneficial
> at this time

Filed BZ 36807 for that, agreed  it's not critical to this patch.
Comment 11 David Nind 2024-05-08 09:21:45 UTC
Created attachment 166361 [details] [review]
Bug 36757: Sync concerns tables

This patch re-syncs the two catalog concerns display tables markup. We
add the 'Title' field into the catalog/detail version of the table and
split the columns settings so you can control the table distinctly from
the cataloguing module version so we can hide 'title' by default in the
details display tab.

This results in the table matching the display from the cataloguing
module page, i.e. the assignee and status detail displays.

Signed-off-by: Andrew Fuerste Henry <andrewfh@dubcolib.org>
Signed-off-by: David Nind <david@davidnind.com>
Comment 12 David Nind 2024-05-08 09:22:47 UTC
Adding my sign off, in case that helps with QA.
Comment 13 Katrin Fischer 2024-05-08 14:56:48 UTC
Hm, I will push this as is, but I still see some differences on the detail page itself:

"Details" button in last column:
* Shows assignee in top right corner
* Shows the "update" button after concern was resolved

"speaking bubble icon" in details column:
* Doesn't show assignee in top right corner
* Shows the "update" and the "resolve" button after concern was resolved

I'll still push this as is, but will set additional_work_needed. Can you please check?

I ran yarn build and reset_all.
Comment 14 Katrin Fischer 2024-05-08 16:25:24 UTC
Pushed for 24.05!

Well done everyone, thank you!
Comment 15 Martin Renvoize (ashimema) 2024-05-09 12:36:07 UTC
Created attachment 166453 [details] [review]
Bug 36757: (QA follow-up) Fix for action on different triggers

This patch updates the 'title' and 'comment count' links to action the
same ticket detail/update modal as the 'details' button.

Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Comment 16 Paul Derscheid 2024-05-09 12:52:34 UTC
Created attachment 166455 [details] [review]
Bug 36757: (QA follow-up) Fix for action on different triggers

This patch updates the 'title' and 'comment count' links to action the
same ticket detail/update modal as the 'details' button.

Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Paul Derscheid <paulderscheid@gmail.com>
Comment 17 Katrin Fischer 2024-05-10 11:50:08 UTC
I am sorry, but with the follow-up the modal no longer opens when I click on the number of "changes". Can you please double check?

I tried a reset_all, restart_all, private browser window...
Comment 18 Martin Renvoize (ashimema) 2024-05-10 12:51:47 UTC
Created attachment 166548 [details] [review]
Bug 36757: (QA follow-up) Fix for action on different triggers

This patch updates the 'title' and 'comment count' links to action the
same ticket detail/update modal as the 'details' button.

Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Paul Derscheid <paulderscheid@gmail.com>
Comment 19 Martin Renvoize (ashimema) 2024-05-10 12:52:25 UTC
Doh.. I missed a class on that page.. the sooner I get bug 36800 done the better
Comment 20 Katrin Fischer 2024-05-10 13:20:23 UTC
Pushed for 24.05!

Well done everyone, thank you!
Comment 21 Fridolin Somers 2024-05-24 14:57:57 UTC
Depends on Bug 35657 not in 23.11.x