Ignore:
Timestamp:
2023-11-15T11:33:06+13:00 (7 months ago)
Author:
kjdon
Message:

defaulting here to a=p&p=about doesn't work, as sometimes, eg to get table of contents, we are using url .../collection/lucene-demo?a=d&d=b22bue. As the segments finish at the collection name this was triggering setting a=p&p=about, when we don't want it. so removing this code from here, and solving it in the library code

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone3/src/java/org/greenstone/gsdl3/core/URLFilter.java

    r38337 r38371  
    219219          }
    220220          gRequest.setParameter(GSParams.COLLECTION, segments[j]);
    221           if (j+1 == segments.length) {
    222           // we have got to eg collection/demo and there is no page part,
    223           // lets default to a=p&sa=about
    224           gRequest.setParameter(GSParams.ACTION, "p");
    225           gRequest.setParameter(GSParams.SUBACTION, "about");
    226           }
    227221        }
    228222        // GROUP
Note: See TracChangeset for help on using the changeset viewer.