I see some logic I could duplicate in IndexBrowse.java to do this for this 
case.  I'm going to try that.

-----Original Message-----
From: Blanco, Jose [mailto:[email protected]] 
Sent: Thursday, September 01, 2011 12:43 PM
To: [email protected]
Subject: [Dspace-tech] change to browse

I would like to make the following change to the browse.

I have a new dc called description.restricted.  I want the browse not to 
display the items that have the string 'restricted' in this field.  This would 
apply to the following browse:
Title
Author
Date
And 
Subject 
  
I have been looking at the code and am not able to see a very easy way to do 
this.  Is there a place where I can put this where clause.  The clause is 
something like this:

WHERE metadatavalue.item_id not in (select distinct item_id from metadatavalue 
where text_value='restricted' and metadata_field_id =108)

I see that items that archived or withdrawn are not displayed, but I'm not sure 
how I could add this new filter.  Could someone give me some clue.

Thank you!
Jose

------------------------------------------------------------------------------
Special Offer -- Download ArcSight Logger for FREE!
Finally, a world-class log management solution at an even better 
price-free! And you'll get a free "Love Thy Logs" t-shirt when you
download Logger. Secure your free ArcSight Logger TODAY!
http://p.sf.net/sfu/arcsisghtdev2dev
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech

------------------------------------------------------------------------------
Special Offer -- Download ArcSight Logger for FREE!
Finally, a world-class log management solution at an even better 
price-free! And you'll get a free "Love Thy Logs" t-shirt when you
download Logger. Secure your free ArcSight Logger TODAY!
http://p.sf.net/sfu/arcsisghtdev2dev
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech

Reply via email to