BlogSphere V3 - Feature Request: Search should work in language versions, tooCreated on |
Jan 22, 2007 |
Created by |
Thomas Bahn |
Status |
Submitted |
Search should work in language versions, too. They are artificially removed from the search results.
In the RenderEngine.Blog script library, in RenderEngineSearchResults() there is a block to "Reduce the search To Only Include Blog Entries, Downloads and Photos" which contains following line:
If ArchiveDoc.Form(0) <> "content_BlogEntry" Then
which could be substituted by:
If Left$(ArchiveDoc.Form(0), 17) <> "content_BlogEntry" Then
But this will not work, since the Language Versions does not have an EntryDate item.
Perhaps the ArchiveDoc document in the ArchiveDocColl collection should be "replaced" by the main entry?
This could be done by creating a new NotesDocumentCollection. Then in the "Reducing..." block instead of removing documents from the ArchiveDocColl, the content_BlogEntry documents could be added (for language versions the main content_BlogEntry) to the new collection. Then the code below could use new collection.
Regards
Thomas
Taken Actions by OwnersNo actions have been taken yet.