Skip to content

Commit 3eeda06

Browse files
ndg63276Mark Williams
andauthored
LIMS-1957: Fix fault report URLs for beamlines with hyphens (#997)
Co-authored-by: Mark Williams <mark.williams@diamond.ac.uk>
1 parent 3ade510 commit 3eeda06

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

client/src/js/modules/fault/views/filters.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ define(['marionette',
4444
}
4545

4646
_.each(frags, function(v, f) {
47-
url = url.replace(new RegExp('\\/'+f+'\\/\\w+'), '')
47+
url = url.replace(new RegExp('\\/'+f+'\\/[\\w-]+'), '');
4848
if (this.ui[v].val()) url += '/'+f+'/'+this.ui[v].val()
4949
}, this)
5050

0 commit comments

Comments
 (0)