X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=src%2Fhttp_command.c;h=64331a468c23adc3455413784a3674d02fa323ca;hb=ff0f1523c1436f4b2f0b334a53e0fbaba1b9ae84;hp=1de0354a3401347f78b9c90f6996114d21a2e047;hpb=fb19bc317370b4f4b508088b034b4c2d19257042;p=pazpar2-moved-to-github.git diff --git a/src/http_command.c b/src/http_command.c index 1de0354..64331a4 100644 --- a/src/http_command.c +++ b/src/http_command.c @@ -1,5 +1,5 @@ /* This file is part of Pazpar2. - Copyright (C) 2006-2013 Index Data + Copyright (C) Index Data Pazpar2 is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free @@ -1288,7 +1288,7 @@ static void cmd_show(struct http_channel *c) status = session_active_clients(s->psession); - if (block) + if (block && reclist_get_num_records(s->psession->reclist) == 0) { if (!strcmp(block, "preferred") && !session_is_preferred_clients_ready(s->psession)