Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move search parameters from POST to GET parameters #71

Open
wants to merge 11 commits into
base: PO-267
Choose a base branch
from
Open

Conversation

godbone
Copy link
Collaborator

@godbone godbone commented Nov 30, 2018

No description provided.

@@ -190,12 +205,37 @@ class Search {
}, 2 * 1000 );
}

getArgs( searchForm = null ) {
const filter = ( searchForm || this.$filterForm || this.$searchForm ).filter( ':visible' ).serialize();
collectGuids( $el, collected = []) {
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tämä metodi kaipaa kommentointia. Mitä se tekee, palauttaa yms.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Kommentoitu.

return collected;
}

getArgs( $searchForm = null ) {
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Kommentointi puuttuu metodin alusta.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Kommentoitu.

* @param {object} data Data that was used to render the html.
*/
doSearchSuccess( html, data ) {
populateFilters() {
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Metodin kommentointi...

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Kommentoitu.

}
}

openParent( i, el ) {
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Metodin kommentointi :)

Copy link
Collaborator Author

@godbone godbone Dec 3, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Kommentoitu, ja poistettu i parametri koska sitä ei käytetty.


let newUrl = location.toString().replace( new RegExp( encodeURIComponent( pof_lang.search_base ) + '\/.+', 'g' ), pof_lang.search_base + '/' + searchTerm );
handleUrlOnSearch( data ) {
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Metodin kommentointi.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Kommentoitu.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants