* [PATCH 0/3] minor view tweaks
@ 2015-12-26 1:30 6% Eric Wong
0 siblings, 0 replies; 2+ results
From: Eric Wong @ 2015-12-26 1:30 UTC (permalink / raw)
To: meta
3 changes to be pushed to git://80x24.org/public-inbox.org master:
view: reduce main landing page weight
searchview: fix unclosed tags in threaded search results
use "Atom feed" consistently in headers/footers
lib/PublicInbox/Feed.pm | 2 +-
lib/PublicInbox/SearchView.pm | 15 ++++++---------
lib/PublicInbox/View.pm | 23 +++++++++--------------
3 files changed, 16 insertions(+), 24 deletions(-)
Additionally (sent separately):
searchview: fixup stupid syntax error
searchview: fix up Atom feed in search results
^ permalink raw reply [relevance 6%]
* [PATCH] searchview: fix up Atom feed in search results
@ 2015-12-26 1:10 7% ` Eric Wong
0 siblings, 0 replies; 2+ results
From: Eric Wong @ 2015-12-26 1:10 UTC (permalink / raw)
To: meta
Oops :x We need better testing...
Fixes: commit 4c2c2325d2948ec5340e2fcafbee798cf568f5fd
("rename 'GitCatFile' package to 'Git'")
---
lib/PublicInbox/SearchView.pm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/PublicInbox/SearchView.pm b/lib/PublicInbox/SearchView.pm
index 9a58156..994bf0d 100644
--- a/lib/PublicInbox/SearchView.pm
+++ b/lib/PublicInbox/SearchView.pm
@@ -235,7 +235,7 @@ sub html_start {
sub adump {
my ($cb, $mset, $q, $ctx) = @_;
my $fh = $cb->([ 200, ['Content-Type' => 'application/atom+xml']]);
- my $git = $ctx->{git_dir} ||= PublicInbox::Git->new($ctx->{git_dir});
+ my $git = $ctx->{git} ||= PublicInbox::Git->new($ctx->{git_dir});
my $feed_opts = PublicInbox::Feed::get_feedopts($ctx);
my $x = PublicInbox::Hval->new_oneline($q->{q})->as_html;
$x = qq{$x - search results};
--
EW
^ permalink raw reply related [relevance 7%]
Results 1-2 of 2 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2015-12-22 1:02 [PATCH 0/4] a bunch of cleanups for future expansion Eric Wong
2015-12-22 1:02 ` [PATCH 4/4] rename 'GitCatFile' package to 'Git' Eric Wong
2015-12-26 1:10 7% ` [PATCH] searchview: fix up Atom feed in search results Eric Wong
2015-12-26 1:30 6% [PATCH 0/3] minor view tweaks Eric Wong
Code repositories for project(s) associated with this public inbox
https://80x24.org/public-inbox.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).