user chooses something like "February 2000" in this case, the browse starts
from the *last* date in Feb 2000 (i.e. 29 Feb 2000), instead of the first.
If the index looks like this:
March 2000
14 Feb 2000
15 Jan 2000
Entering "Feb 2000" would start the browse at 15 Jan 2000, counter-intuitively,
because "Feb 2000" would appear after "14 Feb 2000" in the index, and the
browse code uses the first available value after that.
Now, in this case, the browse UI will pretend the user wants to start the
browse on "29 Feb 2000", since this means 14 Feb 2000 is used as the starting
point for the browse.
Behaviour when ordering with the oldest item first is unchanged.
git-svn-id: http://scm.dspace.org/svn/repo/trunk@219 9c30dcfa-912a-0410-8fc2-9e0234be79fd
Change getSomethingInternal method name to doBrowse
datesafter parameter renamed to oldestfirst
Change name of BrowseScope parameter from "params" to "scope" throughout
Position logic moved to new getPosition method
countMatches ignores ascending/descending parameter.
More javadoc
In javadoc, reference Dublin Core elements and qualifiers when explaining
browses.
git-svn-id: http://scm.dspace.org/svn/repo/trunk@213 9c30dcfa-912a-0410-8fc2-9e0234be79fd
- Links to recent submissions on comm/coll home pages are now relative, so
the location bar is filled out.
git-svn-id: http://scm.dspace.org/svn/repo/trunk@209 9c30dcfa-912a-0410-8fc2-9e0234be79fd
- browse by date ordering is kept when next/prev page clicked
- focus no longer set to 9999 when browsing by date with most recent first -
browse code does the right thing by default
git-svn-id: http://scm.dspace.org/svn/repo/trunk@207 9c30dcfa-912a-0410-8fc2-9e0234be79fd
All tests simply abort the context, so no stray test data is left around
git-svn-id: http://scm.dspace.org/svn/repo/trunk@203 9c30dcfa-912a-0410-8fc2-9e0234be79fd
Added version numbers for handle, jena, log4j, lucene, postgresql and servlet jars
git-svn-id: http://scm.dspace.org/svn/repo/trunk@197 9c30dcfa-912a-0410-8fc2-9e0234be79fd
retrieved so far.
Reverse the boolean values for createSql calls
In getScopeClause, ensure that the clause begins with a space
git-svn-id: http://scm.dspace.org/svn/repo/trunk@194 9c30dcfa-912a-0410-8fc2-9e0234be79fd
- Item display and item list display now handled by tags
- Reorganised "component" JSPs slightly
- DCDate -> displayable code moved to UIUtil
git-svn-id: http://scm.dspace.org/svn/repo/trunk@191 9c30dcfa-912a-0410-8fc2-9e0234be79fd
Add new methods without table parameter; column info is read
from ResultSetMetaData
git-svn-id: http://scm.dspace.org/svn/repo/trunk@188 9c30dcfa-912a-0410-8fc2-9e0234be79fd
Removed extra multi-argument constructor
Add convenience methods:
hasNoLimit(), hasFocus()
focusIsItem(), focusIsString() getFocusItemId() getFocusValue()
isCollectionScope() isCommunityScope() isAllDSpaceScope()
Add hashCode method
Simplify equals method by using _equals() method
Implements Cloneable, add clone method
(Many of the changes here make the Browse code much simpler)
git-svn-id: http://scm.dspace.org/svn/repo/trunk@185 9c30dcfa-912a-0410-8fc2-9e0234be79fd
- Minor fixes to stylesheet
- SFX query, bitstream list, and metadata displaying parts "componentised"
git-svn-id: http://scm.dspace.org/svn/repo/trunk@180 9c30dcfa-912a-0410-8fc2-9e0234be79fd
- LocationServlet added to handle user navigating within communities and
collections
- Invalid ID error added
- Home page is now called "index.jsp" (was called home.jsp)
git-svn-id: http://scm.dspace.org/svn/repo/trunk@171 9c30dcfa-912a-0410-8fc2-9e0234be79fd