[Bug 21260] New: Show a few more items in Availability line of XSLT search results

classic Classic list List threaded Threaded
7 messages Options
Reply | Threaded
Open this post in threaded view
|

[Bug 21260] New: Show a few more items in Availability line of XSLT search results

bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=21260

            Bug ID: 21260
           Summary: Show a few more items in Availability line of XSLT
                    search results
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P5 - low
         Component: OPAC
          Assignee: [hidden email]
          Reporter: [hidden email]
        QA Contact: [hidden email]

It seems that bug 5079 introduced the one item in lines like:

Availability: Items available for loan: [Call number: XXX](2).

The following would imo be more clear:
Availability: Items available for loan (2): [Call number: XXX, YYY].

The Call number part still being a span which could be hidden with css.

Two changes:
[1] Move the item count before the bracket list and make it bold too.
[2] List a few item call numbers (not all). We could control this with a
preference providing the number listed (now 1 by the chosen condition in the
XSLT sheet).

Essentially, this will be a code simplification. We do not need the generate-id
construction in the current code, etc.

--
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[hidden email]
http://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/
Reply | Threaded
Open this post in threaded view
|

[Bug 21260] Show a few more items in Availability line of XSLT search results

bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=21260

Marcel de Rooy <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           See Also|                            |https://bugs.koha-community
                   |                            |.org/bugzilla3/show_bug.cgi
                   |                            |?id=5079

--
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[hidden email]
http://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/
Reply | Threaded
Open this post in threaded view
|

[Bug 21260] Show a few more items in Availability line of XSLT search results

bugzilla-daemon
In reply to this post by bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=21260

Marcel de Rooy <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
           Assignee|[hidden email]         |[hidden email]

--
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[hidden email]
http://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/
Reply | Threaded
Open this post in threaded view
|

[Bug 21260] Show a few more items in Availability line of XSLT search results

bugzilla-daemon
In reply to this post by bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=21260

David Cook <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|enhancement                 |normal
                 CC|                            |[hidden email]

--- Comment #1 from David Cook <[hidden email]> ---
I think that this is actually a bug fix rather than an enhancement, as "[Call
number: XXX](2)" is actually 100% incorrect. As you say, it should be "[Call
number: XXX, YYY]" or "[Call number: XXX (1), YYY (1)]".

At the moment, the mechanism behind the "Availability", "Location", and related
fields in the search results is fundamentally flawed, and is very problematic
when you have multiple items and different call numbers.

--
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[hidden email]
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/
Reply | Threaded
Open this post in threaded view
|

[Bug 21260] Show a few more items in Availability line of XSLT search results

bugzilla-daemon
In reply to this post by bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=21260

--- Comment #2 from David Cook <[hidden email]> ---
Created attachment 105375
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=105375&action=edit
Flawed search result

--
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[hidden email]
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/
Reply | Threaded
Open this post in threaded view
|

[Bug 21260] Show a few more items in Availability line of XSLT search results

bugzilla-daemon
In reply to this post by bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=21260

--- Comment #3 from David Cook <[hidden email]> ---
Created attachment 105376
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=105376&action=edit
Correct data on item detail page

--
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[hidden email]
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/
Reply | Threaded
Open this post in threaded view
|

[Bug 21260] Show a few more items in Availability line of XSLT search results

bugzilla-daemon
In reply to this post by bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=21260

--- Comment #4 from David Cook <[hidden email]> ---
It could be interesting to look at using a more familiar "map" solution using
EXSLT like so
https://www.devsumo.com/technotes/2013/08/xslt-using-lists-and-maps-as-template-parameters/

Alternatively, maybe we should change how we handle items in the search
results? Maybe something more like the detail page which could be collapsible /
have a "display more" feature.

--
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[hidden email]
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/