Project

General

Profile

Revision 1362

Added by Jing Tao almost 18 years ago

In extened query, parentnodeid was added.

View differences:

src/edu/ucsb/nceas/metacat/QuerySpecification.java
716 716
  public String printExtendedSQL(String doclist)
717 717
  {  
718 718
    StringBuffer self = new StringBuffer();
719
    self.append("select xml_nodes.docid, xml_index.path, xml_nodes.nodedata ");
719
    self.append("select xml_nodes.docid, xml_index.path, xml_nodes.nodedata, ");
720
    self.append("xml_nodes.parentnodeid ");
720 721
    self.append("from xml_index, xml_nodes where xml_index.nodeid=");
721 722
    self.append("xml_nodes.parentnodeid and (xml_index.path like '");
722 723
    boolean firstfield = true;

Also available in: Unified diff