Bug 33561

Summary: Improve display of location column in search results
Product: Koha Reporter: Lucas Gass <lucas>
Component: CirculationAssignee: Bugs List <koha-bugs>
Status: NEW --- QA Contact: Testopia <testopia>
Severity: enhancement    
Priority: P5 - low CC: gmcharlt, kyle.m.hall
Version: Main   
Hardware: All   
OS: All   
Change sponsored?: --- Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:
Attachments: Bug 33561: New dispay for location column
first iteration

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.