Skip to content

Commit

Permalink
BDOG-2077 Modify list.js source code to allow search by punctuation
Browse files Browse the repository at this point in the history
This bug was introduced in List.js:2.3.0, and a fix has been proposed
which has not yet been merged: javve/list.js#721

This commit uses the proposed fix above.

Futher detail:
Prior to v2.3.0, the search used regexp, so special chars had to be escaped.
However version 2.3.0 implemented a new, faster search which didn't use regexp.
Therefore by continuing to escape special chars, it's not possible to search for them.
This defunct 'replace' function should be removed
  • Loading branch information
jonnydh committed Aug 12, 2022
1 parent 3323bc4 commit 10735a7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/views/standard_layout.scala.html
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
<link rel="shortcut icon" href="@routes.Assets.versioned("favicon.ico")" type="image/x-icon">
<script src="//cdnjs.cloudflare.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
<script src="//cdnjs.cloudflare.com/ajax/libs/jqueryui/1.12.1/jquery-ui.min.js"></script>
<script type="application/javascript" src="@routes.Assets.versioned("list-2.3.0.min.js")"></script>
<script type="application/javascript" src="@routes.Assets.versioned("../../public/list-2.3.0-patched.min.js")"></script>
<script src="//cdnjs.cloudflare.com/ajax/libs/popper.js/1.12.9/umd/popper.min.js"></script>
<script src="//cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.4.1/js/bootstrap.min.js"></script>
<script src="@routes.Assets.versioned("catalogue-frontend.js")"></script>
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 10735a7

Please sign in to comment.