[RM-33741]: <TU Subject> [Upgrade] List customizations

Viewed 1

Problem Summary

From Redmine:

Root Cause Analysis

A detailed explanation of why the problem occurred. This section should be technical and precise. Include links to specific lines of code if applicable.

1 Answers

Solution / Workaround

Koha TU Subject Heading - Customizations

1. Add custom patron attribute, allow patron to create userid and fix redirect

Commit: e11d22ad300d6f53760204ef62551bbf5aa08a82
Branch: tush-20.11.18
Author: praphas.man@gmail.com

Modified Files:

  • koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-authoritiessearchresultlist.tt
  • koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-main.tt
  • koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-memberentry.tt
  • opac/opac-memberentry.pl

Technical Details:

  • Add custom patron attribute
  • Allow patron to create userid
  • Fix redirect after create userid

2. Add query search for search highlight

Commit: 25bf1a5962402e5d0f96d246a9bb747d5002a694
Branch: tush-20.11.18
Author: nickykoong2@gmail.com

Modified Files:

  • koha-tmpl/intranet-tmpl/prog/en/modules/authorities/searchresultlist.tt

Technical Details:

  • Add hidden input query to maintain search context for highlighting

3. Add support callnumber and Fix search result not use AuthoritySeparator to separate

Commit: 9a63585f2c8523dabb9f40a07a7ffe9ab2c79777
Branch: tush-20.11.18
Author: nickykoong2@gmail.com

Modified Files:

  • C4/AuthoritiesMarc.pm
  • koha-tmpl/intranet-tmpl/prog/en/includes/authorities-search-results.inc

Technical Details:

  • Add support for extracting callnumbers from tags 053, 060, 083
  • Ensure AuthoritySeparator is used correctly in summaries

4. Add custom authority detail page

Commit: be0460dc244dfe517fbde20739ce3d57310c4fb5
Branch: tush-20.11.18
Author: praphas.man@gmail.com

Modified Files:

  • koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-auth-MARCdetail.tt
  • koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-auth-detail.tt
  • opac/opac-authoritiesdetail.pl

Technical Details:

  • Implement tabbed navigation (Normal/MARC view) for authority details in OPAC

5. Implement authority export

Commit: 4bc281040b5daff4b7be41de63ee5e6f238b3b2d
Branch: tush-20.11.18
Author: praphas.man@gmail.com

Modified Files:

  • koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-auth-detail.tt
  • opac/opac-auth-export.pl

Technical Details:

  • Implement authority record export in MARCXML and MARC (UTF-8) formats
  • Add 'Save Record' dropdown to OPAC detail page

6. Add sub heading

Commit: 165b3871e29f43872ba11059e4362a3b6b14a11e
Branch: tush-20.11.18
Author: nickykoong2@gmail.com

Modified Files:

  • C4/AuthoritiesMarc.pm
  • koha-tmpl/intranet-tmpl/prog/en/includes/authorities-search-results.inc
  • koha-tmpl/intranet-tmpl/prog/en/modules/authorities/searchresultlist.tt

Technical Details:

  • Add support for sub-heading from tag 950
  • Customize search results to display multiple authorized headings

7. Add function auto sync authority

Commit: d8a725ccbc43c0b70c8327bad1dd21b56746c28e
Branch: tush-20.11.18
Author: nickykoong2@gmail.com

Modified Files:

  • C4/AuthoritiesMarc.pm

Technical Details:

  • Add function auto sync authority

8. Add global edit button to toolbar

Commit: 79aa3aae1861a04e66bbfd16efe7bd9f34e4cc92
Branch: tush-20.11.18
Author: nickykoong2@gmail.com

Modified Files:

  • koha-tmpl/intranet-tmpl/prog/en/includes/authorities-toolbar.inc

Technical Details:

  • Add 'Global Edit' button to authority toolbar

9. Show subfield if not hidden in framework

Commit: a66b312ebc21c8e51fb7ad6487e20590beccaa48
Branch: tush-20.11.18
Author: nickykoong2@gmail.com

Modified Files:

  • authorities/authorities.pl

Technical Details:

  • Change subfield visibility logic to show if not explicitly hidden in framework

10. Implement display subheading on mainheading detail

Commit: 7fb477e1c324639791d7dc97bf1a615f96f385b5
Branch: tush-20.11.18
Author: nickykoong2@gmail.com

Modified Files:

  • C4/AuthoritiesMarc.pm
  • authorities/detail.pl
  • koha-tmpl/intranet-tmpl/prog/en/modules/authorities/detail.tt

Technical Details:

  • Implement subheading display logic on main heading detail pages

11. Customize staff result to display seealso like staff detail

Commit: b0ed76d478e9f8138194597b81612de9341629f6
Branch: tush-20.11.18
Author: nickykoong2@gmail.com

Modified Files:

  • koha-tmpl/intranet-tmpl/prog/en/includes/authorities-search-results.inc

Technical Details:

  • Standardize reference type labels (UF, BT, NT, RT) for MARC21
  • Display subheadings in staff search results

12. FIX avoid infinity loop in "BuildAuthHierarchies" function

Commit: 25d2662c168da31d3255e637f75dfa81e8e0f03a
Branch: tush-20.11.18
Author: nickykoong2@gmail.com

Modified Files:

  • C4/AuthoritiesMarc.pm

Technical Details:

  • Fix potential infinite loops in BuildAuthHierarchies by tracking visited authids

13. Change layout hierarchies on intranet detail

Commit: f21c4258e4ec2335157080473d0837d1917c3871
Branch: tush-20.11.18
Author: nickykoong2@gmail.com

Modified Files:

  • koha-tmpl/intranet-tmpl/prog/en/includes/authorities-search-results.inc
  • koha-tmpl/intranet-tmpl/prog/en/modules/authorities/detail.tt

Technical Details:

  • Reorganize staff detail page layout to include a hierarchy sidebar

14. Add geographic on staff result

Commit: 0b42d4f0e125ef02b9a0b780a18be45cba7047be
Branch: tush-20.11.18
Author: nickykoong2@gmail.com

Modified Files:

  • koha-tmpl/intranet-tmpl/prog/en/includes/authorities-search-results.inc

Technical Details:

  • Display geographic subdivision status from tag 008 in staff search results

15. Change layout staff top menubar

Commit: c716eab87a84361d80517095ad43ec30564a4a2f
Branch: tush-20.11.18
Author: nickykoong2@gmail.com

Modified Files:

  • koha-tmpl/intranet-tmpl/prog/en/includes/header.inc

Technical Details:

  • Simplify staff top menu to prioritize Authorities and Patrons

16. Custom header on opac

Commit: ea858b278d11512f14dc51c2b805f0f41264d0a2
Branch: tush-20.11.18
Author: praphas.man@gmail.com

Modified Files:

  • C4/Auth.pm
  • C4/Search/History.pm
  • koha-tmpl/opac-tmpl/bootstrap/en/includes/masthead.inc

Technical Details:

  • Implement custom OPAC header with search history counter

Commit: 1edad0ac0c4d2d69c8796b475f2cbb4fdfc7aa91
Branch: tush-20.11.18
Author: nickykoong2@gmail.com

Modified Files:

  • koha-tmpl/intranet-tmpl/prog/en/includes/authorities-toolbar.inc
  • koha-tmpl/intranet-tmpl/prog/en/modules/authorities/searchresultlist.tt

Technical Details:

  • Add button to quickly view authority in OPAC from staff interface

18. Set tag "seefrom" not separate by preferences

Commit: 3bb2041323334c9af9bd602f39b68fcc84340de3
Branch: tush-20.11.18
Author: nickykoong2@gmail.com

Modified Files:

  • C4/AuthoritiesMarc.pm

Technical Details:

  • Ensure 'see from' headings are formatted with standard separators

19. Add search by authid

Commit: e19e8c6492c7c7d0b206ad81cf2e9678ecf83439
Branch: tush-20.11.18
Author: nickykoong2@gmail.com

Modified Files:

  • koha-tmpl/intranet-tmpl/prog/en/includes/authorities-search.inc

Technical Details:

  • Add ability to search authorities directly by ID

20. Fix class on button global edit

Commit: 9df3c32761607fada64a5b18655c4786686723c6
Branch: tush-20.11.18
Author: praphas.man@gmail.com

Modified Files:

  • koha-tmpl/intranet-tmpl/prog/en/includes/authorities-toolbar.inc

Technical Details:

  • Adjust styling of Global Edit button

21. Move punsarn custom function from AuthoritiesMarc.pm to Punsarn.pm

Commit: 9a72e6ed0f6f29b987fd756fddf4c5ccca0e4b17
Branch: tush-20.11.18
Author: nickykoong2@gmail.com

Modified Files:

  • C4/AuthoritiesMarc.pm
  • C4/AuthoritiesMarc/Punsarn.pm
  • authorities/detail.pl

Technical Details:

  • Refactor custom logic into C4::AuthoritiesMarc::Punsarn namespace

22. Show marc view on staff detail page

Commit: a5996bf80796dadc826d0f906e82e98924fc4c88
Branch: tush-20.11.18
Author: nickykoong2@gmail.com

Modified Files:

  • authorities/detail.pl
  • authorities/showmarc.pl
  • koha-tmpl/intranet-tmpl/prog/en/includes/authorities-toolbar.inc
  • koha-tmpl/intranet-tmpl/prog/en/includes/authorities_js.inc
  • koha-tmpl/intranet-tmpl/prog/en/modules/authorities/detail.tt
  • koha-tmpl/intranet-tmpl/prog/en/modules/authorities/showmarc.tt

Technical Details:

  • Integrate XSLT details display for authority MARC view in staff interface

23. Check suppress in opac

Commit: b313e3ca7471f3d4c7075d8247f0723f7a7514c3
Branch: tush-20.11.18
Author: nickykoong2@gmail.com

Modified Files:

  • C4/AuthoritiesMarc.pm
  • opac/opac-authoritiesdetail.pl

Technical Details:

  • Redirect suppressed authorities (tag 942$n=1) to 404 in OPAC

24. Call lib "jquery.highlight-3.js" for search highlight on opac page

Commit: 192fd437259c49834681560d4f6942c59472039b
Branch: tush-20.11.18
Author: nickykoong2@gmail.com

Modified Files:

  • koha-tmpl/opac-tmpl/bootstrap/en/includes/opac-bottom.inc

Technical Details:

  • Load jquery.highlight plugin for OPAC

25. Show callnumber on opac search result page

Commit: 9e8297fde2a76987b651ad8ef8a44a016e5895ca
Branch: tush-20.11.18
Author: nickykoong2@gmail.com

Modified Files:

  • koha-tmpl/opac-tmpl/bootstrap/en/includes/authorities-search-results.inc

Technical Details:

  • Show callnumbers in OPAC search results

26. Show geographic on opac search result page

Commit: 43fab529a41f14578bd9a9b7592082a22ed84d05
Branch: tush-20.11.18
Author: nickykoong2@gmail.com

Modified Files:

  • koha-tmpl/opac-tmpl/bootstrap/en/includes/authorities-search-results.inc

Technical Details:

  • Show geographic subdivision status with Thai descriptions in OPAC

27. Add google font

Commit: 58d5a70145bd67f350cd4b97e8441b950351dbd9
Branch: tush-20.11.18
Author: nickykoong2@gmail.com

Modified Files:

  • koha-tmpl/opac-tmpl/bootstrap/en/includes/doc-head-close.inc

Technical Details:

  • Add Google Font 'Kanit' to OPAC

28. Custom layout opac search result

Commit: c7847f6e966defc69e7f88d91a597ae4c2dcd5fe
Branch: tush-20.11.18
Author: nickykoong2@gmail.com

Modified Files:

  • koha-tmpl/opac-tmpl/bootstrap/en/includes/authorities-search-results.inc
  • koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-authoritiessearchresultlist.tt

Technical Details:

  • Customize OPAC search results with improved reference labels and heading layouts

29. Set redirect opac main page

Commit: 07fbd960bc583426047dfb296d696f0dbfeeacc5
Branch: tush-20.11.18
Author: nickykoong2@gmail.com

Modified Files:

  • koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-auth-MARCdetail.tt
  • koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-main.tt
  • koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-user.tt

Technical Details:

  • Redirect logged-in users to custom main page

30. Remove Catalog tab from search history and login page description and Move additional information form location

Commit: 4e98c2d1c86786f8374bf7d9bd578be37ca20714
Branch: tush-20.11.18
Author: nickykoong2@gmail.com

Modified Files:

  • koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-auth.tt
  • koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-memberentry.tt
  • koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-search-history.tt

Technical Details:

  • Remove Catalog tab from search history
  • Clean up login page instructions
  • Relocate additional information fields in member entry

31. Move ReplaceAuth plugin to auth_linker.pl

Commit: bd97d98cf19f6530a881d9bd666f80c51142065a
Branch: tush-20.11.18
Author: nickykoong2@gmail.com

Modified Files:

  • authorities/auth_linker.pl

Technical Details:

  • Migrate ReplaceAuth functionality to auth_linker.pl script

32. Add "|" to menu in header

Commit: fc1a8f037fdcb02b46bb25d2083356ec1a8b2d32
Branch: tush-20.11.18
Author: nickykoong2@gmail.com

Modified Files:

  • koha-tmpl/opac-tmpl/bootstrap/en/includes/masthead.inc

Technical Details:

  • Enhance OPAC header menu with separators

33. Add page result on opac search results

Commit: 55ab1dcef8273bab0ef8522a51f400b8f8375ba1
Branch: tush-20.11.18
Author: nickykoong2@gmail.com

Modified Files:

  • koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-authoritiessearchresultlist.tt

Technical Details:

  • Display result counts and ranges in OPAC search results

34. Fix bug show-seealso dropdown is not working on opac search result

Commit: 35f55e6f80e229398ea04cd110e61d08532e2b2d
Branch: tush-20.11.18
Author: nickykoong2@gmail.com

Modified Files:

  • koha-tmpl/opac-tmpl/bootstrap/en/includes/authorities-search-results.inc

Technical Details:

  • Fix issues with see-also dropdowns by ensuring correct data attributes

35. Fix tag "

" is missing on opac detail

Commit: 2f56337ac395387fefdd55d051115fa0670d0edc
Branch: tush-20.11.18
Author: nickykoong2@gmail.com

Modified Files:

  • koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-auth-detail.tt

Technical Details:

  • Fix broken HTML structure in OPAC authority detail

36. Fix text on opac self register

Commit: fd427d96df5499b65506271a9d3c930624b3b0c1
Branch: tush-20.11.18
Author: praphas.man@gmail.com

Modified Files:

  • koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-memberentry.tt

Technical Details:

  • Update OPAC self-registration labels (Surname -> Full name)

37. Fix layout header on opac site

Commit: 474f183cdc33b26dc968655b4f5c3a7c931f01a0
Branch: tush-20.11.18
Author: praphas.man@gmail.com

Modified Files:

  • koha-tmpl/opac-tmpl/bootstrap/en/includes/masthead.inc

Technical Details:

  • Optimize OPAC header layout and positioning of search history

38. Add button change authority type on authority detail page

Commit: a970bf8d5435100de0f4ce0ab9e4a316513371e2
Branch: tush-20.11.18
Author: nickykoong2@gmail.com

Modified Files:

  • koha-tmpl/intranet-tmpl/prog/en/includes/authorities-toolbar.inc

Technical Details:

  • Implement 'Change authority type' feature in staff interface

39. Change parameter search all headings

Commit: 4285c7e16b59b32d2ce993d7523882c69b7fc5f8
Branch: tush-20.11.18
Author: nickykoong2@gmail.com

Modified Files:

  • koha-tmpl/intranet-tmpl/prog/en/includes/authorities-search.inc

Technical Details:

  • Change authority search behavior to use 'match' by default

40. Change url in breadcrumb on opac detail

Commit: fb76bae492c4a2959491102938468430f3613c6c
Branch: tush-20.11.18
Author: nickykoong2@gmail.com

Modified Files:

  • koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-auth-detail.tt

Technical Details:

  • Update OPAC breadcrumbs for better navigation flow

41. Show name(en) to sub-heading(950) on search result page

Commit: 03113635c75df5003a0d785ce1e6c940356cd489
Branch: tush-20.11.18
Author: nickykoong2@gmail.com

Modified Files:

  • C4/AuthoritiesMarc.pm
  • koha-tmpl/intranet-tmpl/prog/en/includes/authorities-search-results.inc
  • koha-tmpl/opac-tmpl/bootstrap/en/includes/authorities-search-results.inc

Technical Details:

  • Extend subfield support for English translations in tag 950

42. Fix bug seefrom not show in staff search result page

Commit: 9619934185e45c7c86657112ca9f31ddc5bd6054
Branch: tush-20.11.18
Author: nickykoong2@gmail.com

Modified Files:

  • koha-tmpl/intranet-tmpl/prog/en/includes/authorities-search-results.inc

Technical Details:

  • Fix visibility of 'see from' references in staff results

43. Fix authority search contain not working as expect

Commit: de41803481c2465544346c79ad59044756b26faa
Branch: tush-20.11.18
Author: apirak@punsarn.asia

Modified Files:

  • Koha/SearchEngine/Elasticsearch/QueryBuilder.pm

Technical Details:

  • Enhance Elasticsearch queries with wildcards and phrase matching for better searching

44. Fix Show name(en) to sub-heading(950) on search result page

Commit: 5d8c940438f6d67f7382759997032678199d75f3
Branch: tush-20.11.18
Author: nickykoong2@gmail.com

Modified Files:

  • C4/AuthoritiesMarc.pm
  • koha-tmpl/intranet-tmpl/prog/en/includes/authorities-search-results.inc
  • koha-tmpl/opac-tmpl/bootstrap/en/includes/authorities-search-results.inc

Technical Details:

  • Add support for tag 980 as authorized sub-headings

45. Merge tag 'v20.11.18' into tush-20.11

Commit: 9c9d1d6d82c52812c3b4d7a9b583846fb0f70150
Branch: tush-20.11.18
Author: apirak@punsarn.asia

Modified Files:

  • No files modified

Technical Details:

  • Merge upstream Koha security and maintenance updates into tush-20.11

46. Add opac masthead

Commit: 0734ac4d01474d252237734285807cd00ae11277
Branch: tush-20.11.18
Author: apirak@punsarn.asia

Modified Files:

  • koha-tmpl/opac-tmpl/bootstrap/en/includes/masthead.inc

Technical Details:

  • Complete custom masthead implementation with responsive design fixes

Verification Steps

How can someone verify that the fix is working correctly? Include steps, commands, or queries.

Related