From d87cf076349d354b829bfe896ef11247b1182dd9 Mon Sep 17 00:00:00 2001 From: Jacek Kowalski <Jacek@jacekk.info> Date: Sat, 04 May 2019 12:46:08 +0000 Subject: [PATCH] Use number of matched query chars when ordering stop search results --- common.js | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/common.js b/common.js index b434bf1..0bf165e 100644 --- a/common.js +++ b/common.js @@ -115,6 +115,10 @@ * PARSING * ***********/ +function normalizeName(string) { + return string.replace('.', '. ').replace(' ', ' '); +} + function parseStatus(status) { switch(status.status) { case 'STOPPING': -- Gitblit v1.9.1