Bug 33561 - Improve display of location column in search results
Summary: Improve display of location column in search results
Status: NEW
Alias: None
Product: Koha
Classification: Unclassified
Component: Circulation (show other bugs)
Version: Main
Hardware: All All
: P5 - low enhancement (vote)
Assignee: Bugs List
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-04-18 23:10 UTC by Lucas Gass
Modified: 2023-04-20 19:34 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
Bug 33561: New dispay for location column (14.09 KB, patch)
2023-04-18 23:12 UTC, Lucas Gass
Details | Diff | Splinter Review
first iteration (271.86 KB, image/png)
2023-04-18 23:14 UTC, Lucas Gass
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Lucas Gass 2023-04-18 23:10:37 UTC
I've been asked to customize the location column in staff search results. I am opening this bug to ideate. 

At the very least I would like to add more classes to make everything easier to customize. 

It would also be nice to have a way to only show items from the branch that you are logged in at.
Comment 1 Lucas Gass 2023-04-18 23:12:17 UTC
Created attachment 149831 [details] [review]
Bug 33561: New dispay for location column
Comment 2 Lucas Gass 2023-04-18 23:14:24 UTC
Created attachment 149832 [details]
first iteration
Comment 3 Katrin Fischer 2023-04-20 19:22:37 UTC
> It would also be nice to have a way to only show items from the branch that
> you are logged in at.

Hm, aren't SeparateHoldings and SeparateHoldingsBranch doing this?
Comment 4 Katrin Fischer 2023-04-20 19:23:09 UTC
(In reply to Lucas Gass from comment #0)
> I've been asked to customize the location column in staff search results. I
> am opening this bug to ideate. 
> 
> At the very least I would like to add more classes to make everything easier
> to customize. 
> 
> It would also be nice to have a way to only show items from the branch that
> you are logged in at.

Oh, or more like a search filter that can be applied/removed anytime?
Comment 5 Lucas Gass 2023-04-20 19:30:37 UTC
(In reply to Katrin Fischer from comment #3)
> > It would also be nice to have a way to only show items from the branch that
> > you are logged in at.
> 
> Hm, aren't SeparateHoldings and SeparateHoldingsBranch doing this?

Maybe I am mistaken but don't these only apply when viewing for the detail page?
Comment 6 Lucas Gass 2023-04-20 19:31:52 UTC
(In reply to Katrin Fischer from comment #4)
> (In reply to Lucas Gass from comment #0)
> > I've been asked to customize the location column in staff search results. I
> > am opening this bug to ideate. 
> > 
> > At the very least I would like to add more classes to make everything easier
> > to customize. 
> > 
> > It would also be nice to have a way to only show items from the branch that
> > you are logged in at.
> 
> Oh, or more like a search filter that can be applied/removed anytime?

Yes, many consortia are using some type of jQuery to do this now. It would be nice if we had functionality like this in Koha.
Comment 7 Katrin Fischer 2023-04-20 19:33:26 UTC
(In reply to Lucas Gass from comment #6)
> (In reply to Katrin Fischer from comment #4)
> > (In reply to Lucas Gass from comment #0)
> > > I've been asked to customize the location column in staff search results. I
> > > am opening this bug to ideate. 
> > > 
> > > At the very least I would like to add more classes to make everything easier
> > > to customize. 
> > > 
> > > It would also be nice to have a way to only show items from the branch that
> > > you are logged in at.
> > 
> > Oh, or more like a search filter that can be applied/removed anytime?
> 
> Yes, many consortia are using some type of jQuery to do this now. It would
> be nice if we had functionality like this in Koha.

It does apply only to the detail page, but having a clickable filter on the full table without splitting into 2 tabs would still be nice.
Comment 8 Lucas Gass 2023-04-20 19:34:24 UTC
(In reply to Katrin Fischer from comment #7)
> (In reply to Lucas Gass from comment #6)
> > (In reply to Katrin Fischer from comment #4)
> > > (In reply to Lucas Gass from comment #0)
> > > > I've been asked to customize the location column in staff search results. I
> > > > am opening this bug to ideate. 
> > > > 
> > > > At the very least I would like to add more classes to make everything easier
> > > > to customize. 
> > > > 
> > > > It would also be nice to have a way to only show items from the branch that
> > > > you are logged in at.
> > > 
> > > Oh, or more like a search filter that can be applied/removed anytime?
> > 
> > Yes, many consortia are using some type of jQuery to do this now. It would
> > be nice if we had functionality like this in Koha.
> 
> It does apply only to the detail page, but having a clickable filter on the
> full table without splitting into 2 tabs would still be nice.

Ah yes, a clickable filter would be helpful on both the results and details pages.