Project

General

Profile

« Previous | Next » 

Revision 6740

retry: add node name in the correct order for predicate navigation
http://bugzilla.ecoinformatics.org/show_bug.cgi?id=5561

View differences:

src/edu/ucsb/nceas/metacat/QueryTerm.java
678 678

  
679 679
            if (!node.equals("")) {
680 680
                sql.insert(0, "(SELECT parentnodeid FROM xml_nodes WHERE nodename LIKE ? ) ");
681
                predicateParameterValues.add(node);
681
                predicateParameterValues.add(0, node);
682 682
            }
683 683
            else if (!path.equals(""))
684 684
            {

Also available in: Unified diff