[Koha-bugs] [Bug 33165] New: Creation of 'My search history' button via added LI element in intranet landing intranet-main.tt

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Mar 8 04:56:25 CET 2023


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33165

            Bug ID: 33165
           Summary: Creation of 'My search history' button via added LI
                    element in intranet landing intranet-main.tt
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P5 - low
         Component: Staff interface
          Assignee: koha-bugs at lists.koha-community.org
          Reporter: adam.styles at esa.edu.au
        QA Contact: testopia at bugs.koha-community.org
                CC: gmcharlt at gmail.com

Created attachment 147889
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=147889&action=edit
screen shot of Koha staff interface landing page with added 'my search history'
icon

Hi All,

I believe the 'search history' feature to be quite useful in daily repeated
search work flows, further to this it is a feature fairly hidden behind a drop
down UI. Therefor to promote the use of this valuable tool and also to improve
it's discoverability, I propose the follow new enhancement I happy to
contribute as patch.

The Creation of 'My search history' button via added LI element in intranet
landing intranet-main.tt, linked to '/cgi-bin/koha/catalogue/search-history.pl'

See attached screen shot that makes use of existing LI element design system
and related FA icons (4.7.0). I am of course happy to vote on icon choice
(lol).

Source could be applied intranet-main.tt li component add after line 103

Static there for all.
...
<li>
    <a class="icon_general icon_lists"
href="/cgi-bin/koha/catalogue/search-history.pl"><i class="fa fa-fw
fa-history"></i>My search history</a>
</li>
...


OR 

Enable/disable via system preference e.g 'showMySearchHistoryIconStaff'

...

[% IF Koha.Preference('ILLModule') %]
<li>
    <a class="icon_general icon_lists"
href="/cgi-bin/koha/catalogue/search-history.pl"><i class="fa fa-fw
fa-history"></i>My search history</a>
</li>
[% END %]

...

I welcome feedback, and I can get started on this soon if community keen.

This is my first suggested UI change that I would like to code contribute.

Thanks.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.


More information about the Koha-bugs mailing list