[Koha-bugs] [Bug 39223] opac-browse.pl broken since 24.11

2025-06-12 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39223

--- Comment #7 from David Nind  ---
Created attachment 183223
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=183223&action=edit
Bug 39223: Fix the OPAC browse search (opac-browse.pl)

This fixes the OPAC browse search feature (OpacBrowseSearch
system preference, Elasticsearch only). Expanding and
collapsing the search results was not working.

Test plan:
1. Start up KTD using Elasticsearch; ktd --es7 up
2. Enable the OpacBrowseSearch system preference.
3. In the OPAC, click 'Browse search' (one of the
   options under the search box).
4. Search for 'a', for the search type use Author, then
   click Search.
5. Click on one of the search results - note that it doesn't
   expand to show the titles for the author.
6. Apply the patch.
7. Refresh the page and repeat steps 3 to 5. Note that the
   author section now expands andd collapses when clicked,
   and that the titles for the author are now shown.

Signed-off-by: David Nind 

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
[email protected]
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 39223] opac-browse.pl broken since 24.11

2025-06-11 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39223

David Cook  changed:

   What|Removed |Added

 CC||[email protected]

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
[email protected]
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 39223] opac-browse.pl broken since 24.11

2025-06-10 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39223

Alexander Blanchard  changed:

   What|Removed |Added

 Status|Signed Off  |Needs Signoff

--- Comment #6 from Alexander Blanchard  
---
Re submitted to correct the dropdown not showing the related titles.

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
[email protected]
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 39223] opac-browse.pl broken since 24.11

2025-06-10 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39223

Alexander Blanchard  changed:

   What|Removed |Added

 Attachment #183122|0   |1
is obsolete||

--- Comment #5 from Alexander Blanchard  
---
Created attachment 183123
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=183123&action=edit
Bug 39223: opac-browse.pl broken

Test Plan:
1. Ensure your KTD is set up to use elastic search.
2. In the System Preferences, navigate to Administration Preferences and locate
SearchEngine
3. Set this to use Elastic Search and save.
4. In the System Preferences, navigate to OPAC preferences and locate
opacBrowseSearch and enable this setting and save.
You may need to refresh the page in the opac - from the home page.
5. Click 'Browse Search'
6. Type in an Author to search for and click search
7. Click on one of the names that displays and notice that nothing happens.
8. Apply the patch
9. Refresh the page in the opac and repeat steps 11 and 12 and notice that the
author section now drops down and related titles are displayed.

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
[email protected]
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 39223] opac-browse.pl broken since 24.11

2025-06-10 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39223

Michał  changed:

   What|Removed |Added

 Attachment #183112|0   |1
is obsolete||

--- Comment #4 from Michał  ---
Created attachment 183122
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=183122&action=edit
Bug 39223: opac-browse.pl broken

Signing off, since the modification is based on my findings/notes above.

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
[email protected]
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 39223] opac-browse.pl broken since 24.11

2025-06-10 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39223

Michał  changed:

   What|Removed |Added

 Status|Needs Signoff   |Signed Off

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
[email protected]
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 39223] opac-browse.pl broken since 24.11

2025-06-05 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39223

Mirjam Vantieghem  changed:

   What|Removed |Added

 CC||[email protected]

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
[email protected]
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 39223] opac-browse.pl broken since 24.11

2025-03-03 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39223

--- Comment #2 from Michał  ---
Also in .tt change `data-parent` to `data-bs-parent`

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
[email protected]
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 39223] opac-browse.pl broken since 24.11

2025-03-03 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39223

Michał  changed:

   What|Removed |Added

   See Also||https://bugs.koha-community
   ||.org/bugzilla3/show_bug.cgi
   ||?id=35402

--- Comment #1 from Michał  ---
Problem and solution found:

in 24.11, for Bootstrap update, `data-toggle` was changed to `data-bs-toggle`.
However, `data-target` was not changed to `data-bs-target`. After changing that
in inspector of web tools, it works again.

The `data-target` is added in browse.js separately from the .tt template, so it
was missed during the HTML refactoring.

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