From 55869873e2ae11f80e0503e0793b51d532aa71dd Mon Sep 17 00:00:00 2001
From: Albert Graef <aggraef@gmail.com>
Date: Fri, 21 Oct 2016 23:44:21 +0200
Subject: [PATCH] Remove .pd suffix from help patches in the directory browser.

---
 pd/nw/dialog_search.html | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pd/nw/dialog_search.html b/pd/nw/dialog_search.html
index 1327d2acd..c8df742e3 100644
--- a/pd/nw/dialog_search.html
+++ b/pd/nw/dialog_search.html
@@ -275,7 +275,7 @@ function display_directory_callback(err, files) {
                 doc_path = path.join(current_dir, f);
                 doc = index.documentStore.getDoc(doc_path) || {
                     id: doc_path,
-                    title: f,
+                    title: path.basename(f, ".pd"),
                     description: null
                 };
                 display_doc(doc);
-- 
GitLab