Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Revert "Fix issue #1388 - Allow Paginator to send correct page links …

…on ajax"

This reverts commit 8c26903.
  • Loading branch information...
commit 903c684251932ef867136c084f6c92d904b9b7d4 1 parent 9f3e187
@kjozsa kjozsa authored fmpwizard committed
View
8 contributors.md
@@ -94,10 +94,4 @@ alexandre at russel dot fr
Ali Salim Rashid
### Email: ###
-a.rashid at zantekk dot com
-
-### Name: ###
-Kristof Jozsa
-
-### Email: ###
-kristof.jozsa at gmail dot com
+a.rashid at zantekk dot com
View
6 web/webkit/src/main/scala/net/liftweb/http/Paginator.scala
@@ -188,13 +188,9 @@ trait PaginatorSnippet[T] extends Paginator[T] {
*/
def first_=(f: Long) = _first = f max 0 min (count-1)
/**
- * Set base URI for pagination when snippet loads
- */
- val paginationBaseUri = S.uri
- /**
* Returns a URL used to link to a page starting at the given record offset.
*/
- def pageUrl(offset: Long): String = appendParams(paginationBaseUri, List(offsetParam -> offset.toString))
+ def pageUrl(offset: Long): String = appendParams(S.uri, List(offsetParam -> offset.toString))
/**
* Returns XML that links to a page starting at the given record offset, if the offset is valid and not the current one.
* @param ns The link text, if the offset is valid and not the current offset; or, if that is not the case, the static unlinked text to display
Please sign in to comment.
Something went wrong with that request. Please try again.