Main Koha release repository https://koha-community.org
Find a file
Andreas Roussos b73230a5f4 Bug 32926: Assign unique ids to <h3> elements
If you perform a System preferences search for a common word
such as "type", you lose the ability to expand or collapse some
sections. In particular, you cannot expand/collapse the sections
with names that appear more than once in the results page.
All sections except the first one in each group of duplicates
are affected by this. See https://imgur.com/a/NSslIcV for a demo.

This patch fixes that by prepending the <h3> ids with the
top-level System preference section name to make them unique.

Test plan:

1) Perform a System preferences search for a common word such
   as "type" or "log". In the results page, the "Policy" section
   will appear more than once. Now try to expand/collapse any
   "Policy" section but the first one. It won't work, only the
   first "Policy" section is toggled.
2) Apply this patch and refresh the page.
3) This time you should be able to expand or collapse all of
   the available system preference sections.
4) Clicking on the "View all xxx preferences" links on the
   right hand side should take you to the correct System
   preferences tab *and* automatically scroll the appropriate
   section into view at the top of the page.

Signed-off-by: Fridolin <fridolin.somers@biblibre.com>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
(cherry picked from commit 28a0c039fe)
Signed-off-by: Matt Blenkinsop <matt.blenkinsop@ptfs-europe.com>
2023-02-28 17:07:39 +00:00
acqui Bug 32377: Set param skiptotals on call of GetBudgetHierarchy in acqui/histsearch.pl 2023-02-01 15:18:30 +00:00
admin Bug 32460: Add missing columns to table configuration for patron categories 2023-02-24 11:15:42 +00:00
api Bug 30642: Make renewal_type an enum in spec and add test 2023-02-13 09:29:38 +00:00
authorities Bug 30250: Use ApplyFrameworkDefaults when importing a record 2022-11-09 14:03:22 -03:00
basket Bug 16522: (follow-up) MARC display templates and get_marc_host fixes 2023-01-31 17:15:27 +00:00
bin
C4 Bug 32687: Get server version in Context::get_versions 2023-02-28 17:06:35 +00:00
catalogue Bug 32583: Restore display of only one item in catalogue/moredetails 2023-01-31 14:28:20 +00:00
cataloguing Bug 32829: Fix cataloguing/value_builder/unimarc_field_115b.pl 2023-02-28 16:47:47 +00:00
circ Bug 32922: Remove space in shebang 2023-02-24 07:51:37 +00:00
clubs Bug 30718: Use flatpickr's altInput 2022-08-19 08:26:31 -03:00
course_reserves Bug 31893: Use checkauth and do not fetch about.tt template 2023-01-31 14:09:05 +00:00
debian Bug 32994: Remove compiled files from src (2) 2023-02-24 11:34:01 +00:00
docs 22.11.00: Update history.txt 2022-11-25 15:20:02 -03:00
erm Bug 32922: Remove space in shebang 2023-02-24 07:51:37 +00:00
errors
etc Bug 32612: (QA follow-up) Remove superfluous line 2023-02-06 15:54:19 +00:00
ill Bug 28909: Allow illview to use backend template 2022-08-09 13:21:39 -03:00
installer Bug 33051: Make 22600075.pl idempotent 2023-02-27 13:37:01 +00:00
Koha Bug 32891: Fix slot selection in last hour 2023-02-24 11:11:09 +00:00
koha-tmpl Bug 32926: Assign unique ids to <h3> elements 2023-02-28 17:07:39 +00:00
labels Bug 31633: (follow-up) Group template params 2022-10-03 14:09:59 -03:00
lib/CGI/Session/Serialize
members Bug 31095: Remove GetDebarments from members/memberentry.pl 2023-02-01 15:35:28 +00:00
misc Bug 32798: Update parameter passed to Koha::Biblio::Metadata->record 2023-02-24 11:14:30 +00:00
offline_circ Bug 30016: Remove GetOpenIssue subroutine 2022-08-31 08:50:37 -03:00
opac Bug 23247: Use EmbedItems in opac-MARCdetail.pl 2023-02-24 08:15:59 +00:00
patron_lists
patroncards Bug 24001: Fix patron card template edition 2022-04-28 10:49:20 -10:00
plugins
pos Bug 30619: Add email receipt to POS 2022-09-07 15:59:34 -07:00
recalls Bug 30924: Add missing branchtransfers.reason value for recall cancellation 2022-06-13 10:30:51 -03:00
reports Bug 32588: Make filters on 'items with no checkouts' report translatable 2023-01-31 18:06:13 +00:00
reserve Bug 32909: Load item type icons from the correct path 2023-02-16 09:41:30 -01:00
reviews
rotating_collections
serials Bug 29608: Made so doesn't require full permission 2022-09-07 13:49:53 -07:00
services
skel
suggestion Bug 32531: Restore behaviour of 'include archived' filter 2023-01-13 15:54:39 +00:00
svc Bug 15869: Change framework on overlay 2023-02-08 16:34:09 +00:00
t Bug 32926: Add Selenium tests 2023-02-28 17:07:18 +00:00
tags Bug 30718: Use flatpickr's altInput 2022-08-19 08:26:31 -03:00
tmp/modified_authorities
tools Bug 15869: (QA follow-up) Don't pass placeholder framework '_USE_ORIG' 2023-02-08 16:35:21 +00:00
virtualshelves Bug 16522: (follow-up) MARC display templates and get_marc_host fixes 2023-01-31 17:15:27 +00:00
xt Bug 32741: Regression tests 2023-02-06 15:50:58 +00:00
.editorconfig
.eslintrc.json
.gitignore Bug 32030: Add dist dir to .gitignore 2022-11-08 09:49:57 -03:00
.htaccess
.mailmap Bug 32582: Fix error in .mailmap 2023-01-25 14:39:04 +00:00
.perlcriticrc
.proverc.dist
.stylelintrc.json Bug 31528: (follow-up) A few additional rules 2022-10-03 08:23:15 -03:00
about.pl Bug 30808: Add support for version codenames 2022-11-25 15:20:00 -03:00
app.psgi
changelanguage.pl
cpanfile Bug 32673: Remove misc/load_testing/ scripts 2023-02-06 15:56:03 +00:00
cypress.json Bug 32030: Move cypress to t/ 2022-11-08 09:44:51 -03:00
fix-perl-path.PL
gulpfile.js Bug 32978: Replace node-sass with dart-sass 2023-02-24 11:31:03 +00:00
help.pl
INSTALL
Koha.pm Increment version for 22.11.03 release 2023-02-23 17:37:21 +00:00
koha_perl_deps.pl
kohaversion.pl
LICENSE
mainpage.pl Bug 30650: Add filter_by_scheduled_today 2022-07-29 15:00:47 -03:00
Makefile.PL Bug 32994: Remove breaking css/maps/*.map files from Makefile.PL 2023-02-24 11:35:36 +00:00
MANIFEST.SKIP
package.json Bug 32978: Replace node-sass with dart-sass 2023-02-24 11:31:03 +00:00
README
README.md
README.robots
rewrite-config.PL
tsconfig.json Bug 32030: Move cypress to t - fix build_js/watch_js 2022-11-08 09:44:52 -03:00
webpack.config.js Bug 32030: Move cypress to t/ 2022-11-08 09:44:51 -03:00
yarn.lock Bug 32978: Updated yarn.lock 2023-02-24 11:31:26 +00:00

Koha is a free software integrated library system (ILS).

Koha is distributed under the GNU GPL version 3 or later.

Note: Koha does not accept pull requests from git hosting sites.

Note: This project has its own bug tracker, to report a bug or submit a patch visit http://bugs.koha-community.org.

For guidelines on submitting patches for Koha please visit https://wiki.koha-community.org/wiki/SubmitingAPatch

The developers handbook can be found at https://wiki.koha-community.org/wiki/Developer_handbook

http://koha-community.org/

Koha Logo