Skip to content

Commit 2acbd1e

Browse files
committed
Fixed some naming problems
1 parent e8933a1 commit 2acbd1e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

plugins/MUSHclient_Help.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -314,19 +314,19 @@ function general_help (search_string, want_snippet)
314314
-- find matching items using FTS
315315
for row in db:nrows(string.format (
316316
[[
317-
SELECT name, title, snippet(general_doc_lookup, '%s', '%s', ' ... ', -1, %i) AS snippet
317+
SELECT name, summary, snippet(general_doc_lookup, '%s', '%s', ' ... ', -1, %i) AS snippet
318318
FROM general_doc_lookup
319319
WHERE general_doc_lookup MATCH %s]],
320320
BOLD, UNBOLD, SNIPPETSIZE,
321321
searchfor)) do
322-
general [row.name] = { snippet = row.snippet, title = row.title }
322+
general [row.name] = { snippet = row.snippet, summary = row.summary }
323323
count = count + 1
324324
end -- finding item
325325
326326
if next (general) then
327327
ColourNote (HEADINGCOLOUR, "", "Topics")
328328
for k, v in pairsByKeys (general) do
329-
show_snippet ("general", k, v.title, "", v.snippet)
329+
show_snippet ("general", k, v.summary, "", v.snippet)
330330
end -- for
331331
end -- if
332332

0 commit comments

Comments
 (0)