Change plugin author to Tainacan. Passes include_disabled properly to filters api.

This commit is contained in:
Mateus Machado Luna 2019-09-04 10:27:46 -03:00
parent ce211e5130
commit 86af0d9fc3
4 changed files with 4 additions and 5 deletions

View File

@ -1201,7 +1201,7 @@
collectionId: this.collectionId,
isRepositoryLevel: this.isRepositoryLevel,
isContextEdit: !this.isOnTheme,
includeDisabled: 'no',
includeDisabled: false,
})
.then((resp) => {
resp.request

View File

@ -336,7 +336,6 @@ export default {
this.$emit( 'hasToPrepareMetadataAndFilters', to);
} else {
this.$emit( 'isLoadingItems', true);
// Cancels previous Request
if (this.searchCancel != undefined)
this.searchCancel.cancel('Item search Canceled.');

View File

@ -177,7 +177,7 @@ export const fetchRepositoryCollectionFilters = ({ dispatch, commit } ) => {
for (let collection of collections ) {
let endpoint = '';
endpoint = '/collection/' + collection.id + '/filters/?nopaging=1&include_disabled=no';
endpoint = '/collection/' + collection.id + '/filters/?nopaging=1&include_disabled=false';
axios.tainacan.get(endpoint)
.then((resp) => {
@ -224,7 +224,7 @@ export const fetchTaxonomyFilters = ({ dispatch, commit }, taxonomyId ) => {
for (let collectionId of taxonomy.collections_ids ) {
let endpoint = '';
endpoint = '/collection/' + collectionId + '/filters/?nopaging=1&include_disabled=no';
endpoint = '/collection/' + collectionId + '/filters/?nopaging=1&include_disabled=false';
axios.tainacan.get(endpoint)
.then((resp) => {

View File

@ -3,7 +3,7 @@
Plugin Name: Tainacan
Plugin URI: https://tainacan.org/
Description: powerfull and flexible repository platform for WordPress. Manage and publish you digital collections as easily as publishing a post to your blog, while having all the tools of a professional respository platform.
Author: Media Lab / UFG
Author: Tainacan
Version: 0.11
Text Domain: tainacan
License: GPLv2 or later