Ignore:
Timestamp:
2000-11-09T15:06:08+13:00 (23 years ago)
Author:
nzdl
Message:

Fixed a couple of minor bugs in phrase searching code

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsdl/src/recpt/queryaction.cpp

    r1373 r1661  
    925925  int firstdoc = args.getintarg("r");
    926926  int hitsperpage = args.getintarg("o");
    927   if (numdocs > maxdocs) numdocs = maxdocs;
     927  if (maxdocs == -1) maxdocs = numdocs;
     928  else if (numdocs > maxdocs) numdocs = maxdocs;
    928929  if (hitsperpage == -1) hitsperpage = numdocs;
    929930
Note: See TracChangeset for help on using the changeset viewer.