|
|
@@ -39,7 +39,7 @@ interface IFtsItem {
|
|
|
path?: ITocPathNode[];
|
|
|
}
|
|
|
|
|
|
-export type ISearchView = "pali" | "title";
|
|
|
+export type ISearchView = "pali" | "title" | "page";
|
|
|
interface IWidget {
|
|
|
keyWord?: string;
|
|
|
tags?: string[];
|
|
|
@@ -148,6 +148,9 @@ const FullTxtSearchResultWidget = ({
|
|
|
case "title":
|
|
|
link = `/article/chapter/${item.book}-${item.paragraph}`;
|
|
|
break;
|
|
|
+ case "page":
|
|
|
+ link = `/article/chapter/${item.book}-${item.paragraph}`;
|
|
|
+ break;
|
|
|
default:
|
|
|
break;
|
|
|
}
|