[Koha-bugs] [Bug 25676] Staff client catalog search shows incorrect item status under location

2020-06-11 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25676

--- Comment #6 from Katrin Fischer  ---
> The idea here was to display:
> (2, 1 Lost, 1 Long overdue), depending on the description in the LOST av
> category.

I think maybe we should just give up on the grouping and say:

1 Lost, 1 Long overdue

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 25676] Staff client catalog search shows incorrect item status under location

2020-06-10 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25676

--- Comment #5 from Jonathan Druart  
---
I had a try to fix this, but it's confusing.
About "(1, 1 Lost)", I never managed to display more that 1 on the same line.
For onloan items, I can only see 1 line per line (they are not grouped if same
code, location, cn, etc.)

The idea here was to display:
(2, 1 Lost, 1 Long overdue), depending on the description in the LOST av
category.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 25676] Staff client catalog search shows incorrect item status under location

2020-06-10 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25676

--- Comment #4 from Jonathan Druart  
---
Created attachment 105684
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=105684&action=edit
Bug 25676: Display the correct Lost value in the result search

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 25676] Staff client catalog search shows incorrect item status under location

2020-06-07 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25676

Katrin Fischer  changed:

   What|Removed |Added

Version|19.11   |master
   Severity|enhancement |normal

-- 
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 25676] Staff client catalog search shows incorrect item status under location

2020-06-07 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25676

--- Comment #3 from Katrin Fischer  ---
I believe the issue is here:

koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/results.tt:  
 ([% onloan_items_loo.count |
html %][% IF ( onloan_items_loo.longoverdue ) %], [%
onloan_items_loo.longoverdue | html %] long overdue[% END %]) date due: [%
onloan_items_loo.due_date | $KohaDates %]

And that leads us to Search.pm making wrong assumptions:

# if something's checked out and lost, mark it as 'long overdue'
if ( $item->{itemlost} ) {
   $onloan_items->{$key}->{longoverdue}++;
   $longoverdue_count++;
}

And now we have an issue: we can't guarantee which value is the long overdue
value lost value. If a library isn't using the long overdue prefs but using
command line parameters. So maybe we need to change this to just show the lost
description as is.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 25676] Staff client catalog search shows incorrect item status under location

2020-06-04 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25676

Andrew Fuerste-Henry  changed:

   What|Removed |Added

 CC||and...@bywatersolutions.com

--- Comment #2 from Andrew Fuerste-Henry  ---
Looking at Joe's site, this seems to be particular to items that are set to
itemlost=1 (which should show "Lost") but are also still checked out. 

select biblionumber from items where onloan is not null and itemlost=1
Bibs listed in this report display "long overdue" as Joe has described.

select biblionumber from items where onloan is null and itemlost=1
Bibs listed in this report show "Lost" as they should

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 25676] Staff client catalog search shows incorrect item status under location

2020-06-04 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25676

--- Comment #1 from Joe Sikowitz  ---
Created attachment 105554
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=105554&action=edit
Correct item record example

-- 
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/