diff --git a/src/http_front/http_handler.erl b/src/http_front/http_handler.erl index c332a1e..e445e76 100644 --- a/src/http_front/http_handler.erl +++ b/src/http_front/http_handler.erl @@ -135,7 +135,7 @@ append_page_nav(Key, ThisPage, Total) -> Links = lists:foldl(fun(I, Str) -> D = I + 1, Str ++ if I == ThisPage -> - integer_to_list(D); + ?TEXT(" ~p ", [D]); true ->format_page_nav(Key, I, integer_to_list(D)) end end, [], lists:seq(StartPage, EndPage)), diff --git a/tools/HISTORY.md b/tools/HISTORY.md index acf3eb1..ffeded9 100644 --- a/tools/HISTORY.md +++ b/tools/HISTORY.md @@ -1,6 +1,8 @@ ## 08.03.2013 * sphinx searching is stable right now, you can config to use it +* modify giza library, to support get sphinx search stats from response +* add page navigation to http ## 07.30.2013